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

24
langs/erlang/erlang.txt Normal file
View File

@ -0,0 +1,24 @@
### ERLANG ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME Erlang
VERSION 1.14
ALLOW_MIXED NO
COMMENT (%.*?$)
PREPROCESSOR (#.*?$)
STRING ((?<!\\)".*?(?<!\\)")
STATEMENT \b(?alt:statements.txt)\b
RESERVED (?default)
TYPE (?default)
MODIFIER \b(?alt:modifier.txt)\b
ENTITY (?default)
VARIABLE (\b[A-Z]([A-Za-z0-9_]*?)\b)
IDENTIFIER (?default)
CONSTANT (\b[a-z]([A-Za-z0-9_]*?)\b)|((?<!\\)'.*?(?<!\\)')
OPERATOR (?alt:operators.txt)
SYMBOL (?default)

View File

@ -0,0 +1,3 @@
-module
-import
-export

View File

@ -0,0 +1,38 @@
=
==
=:=
/=
=/=
>=
>
<
=<
++
--
+
-
*
/
div
rem
bnot
bor
bandb
bxor
bsl
bsr
and
or
not
xor
andalso
orelse
!
:
#

View File

@ -0,0 +1,11 @@
if
case
of
when
receive
end
try
catch
throw
fun
after