use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
foo
|
||||
foo@_bar
|
||||
'foo bar'
|
||||
'\'\\'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["atom", "foo"],
|
||||
["atom", "foo@_bar"],
|
||||
["quoted-atom", "'foo bar'"],
|
||||
["quoted-atom", "'\\'\\\\'"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for atoms and quoted atoms.
|
@ -0,0 +1,13 @@
|
||||
true
|
||||
false
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "true"],
|
||||
["boolean", "false"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
@ -0,0 +1,11 @@
|
||||
% foo bar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "% foo bar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,17 @@
|
||||
spawn(
|
||||
foo@_bar(
|
||||
'foo bar'(
|
||||
'\'\\'(
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["function", "spawn"], ["punctuation", "("],
|
||||
["function", "foo@_bar"], ["punctuation", "("],
|
||||
["quoted-function", "'foo bar'"], ["punctuation", "("],
|
||||
["quoted-function", "'\\'\\\\'"], ["punctuation", "("]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for functions and quoted functions.
|
@ -0,0 +1,15 @@
|
||||
fun when case of
|
||||
end if receive
|
||||
after try catch
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "fun"], ["keyword", "when"], ["keyword", "case"], ["keyword", "of"],
|
||||
["keyword", "end"], ["keyword", "if"], ["keyword", "receive"],
|
||||
["keyword", "after"], ["keyword", "try"], ["keyword", "catch"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
@ -0,0 +1,25 @@
|
||||
42
|
||||
2#101
|
||||
16#1f
|
||||
2.3
|
||||
2.3e3
|
||||
2.3e-3
|
||||
$A
|
||||
$\n
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42"],
|
||||
["number", "2#101"],
|
||||
["number", "16#1f"],
|
||||
["number", "2.3"],
|
||||
["number", "2.3e3"],
|
||||
["number", "2.3e-3"],
|
||||
["number", "$A"],
|
||||
["number", "$\\n"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for numbers and character codes.
|
@ -0,0 +1,27 @@
|
||||
== /= >= :=
|
||||
=:= =/=
|
||||
+ ++ - --
|
||||
= * / !
|
||||
<= < >
|
||||
bnot div rem band
|
||||
bor bxor bsl bsr
|
||||
not and or xor
|
||||
orelse andalso
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "=="], ["operator", "/="], ["operator", ">="], ["operator", ":="],
|
||||
["operator", "=:="], ["operator", "=/="],
|
||||
["operator", "+"], ["operator", "++"], ["operator", "-"], ["operator", "--"],
|
||||
["operator", "="], ["operator", "*"], ["operator", "/"], ["operator", "!"],
|
||||
["operator", "<="], ["operator", "<"], ["operator", ">"],
|
||||
["operator", "bnot"], ["operator", "div"], ["operator", "rem"], ["operator", "band"],
|
||||
["operator", "bor"], ["operator", "bxor"], ["operator", "bsl"], ["operator", "bsr"],
|
||||
["operator", "not"], ["operator", "and"], ["operator", "or"], ["operator", "xor"],
|
||||
["operator", "orelse"], ["operator", "andalso"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all operators.
|
@ -0,0 +1,13 @@
|
||||
""
|
||||
"foo bar"
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"foo bar\""]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
@ -0,0 +1,17 @@
|
||||
Foo
|
||||
?Bar
|
||||
_
|
||||
Foo@_bar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["variable", "Foo"],
|
||||
["variable", "?Bar"],
|
||||
["variable", "_"],
|
||||
["variable", "Foo@_bar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for variables.
|
Reference in New Issue
Block a user