This commit is contained in:
root
2019-08-30 19:30:19 +02:00
commit 6f2b105ca0
595 changed files with 78405 additions and 0 deletions

19
langs/lua/lua.txt Normal file
View File

@ -0,0 +1,19 @@
### LUA LANGUAGE ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME Lua
VERSION 1.8.1
COMMENT (--\[\[.*?\]\])|(--.*?$)
STRING (?default)|(\[(==)?\[[^\]]*\](==)?\])
STATEMENT (?default)|\b(?alt:statement.txt)\b
RESERVED (?default)|\b(?alt:reserved.txt)\b
ENTITY (?default)
VARIABLE (?default)
IDENTIFIER (?default)
CONSTANT (?default)
OPERATOR (?default)
SYMBOL (?default)

48
langs/lua/reserved.txt Normal file
View File

@ -0,0 +1,48 @@
collectgarbage
_ERRORMESSAGE
loadstring
function
_VERSION
loadfile
tonumber
tostring
dostring
foreachi
_PROMPT
_OUTPUT
_STDERR
_STDOUT
foreach
globals
newtype
require
tinsert
tremove
assert
dofile
gcinfo
unpack
_ALERT
_INPUT
_STDIN
rawget
rawset
FALSE
local
error
print
atan2
TRUE
type
call
getn
sort
acos
asin
atan
ceil
nil
abs
cos
deg
exp

16
langs/lua/statement.txt Normal file
View File

@ -0,0 +1,16 @@
elseif
repeat
return
until
break
while
then
else
end
for
and
if
in
not
do
or