use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -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.

View File

@ -0,0 +1,13 @@
true
false
----------------------------------------------------
[
["boolean", "true"],
["boolean", "false"]
]
----------------------------------------------------
Checks for booleans.

View File

@ -0,0 +1,11 @@
% foo bar
----------------------------------------------------
[
["comment", "% foo bar"]
]
----------------------------------------------------
Checks for comments.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -0,0 +1,13 @@
""
"foo bar"
----------------------------------------------------
[
["string", "\"\""],
["string", "\"foo bar\""]
]
----------------------------------------------------
Checks for strings.

View File

@ -0,0 +1,17 @@
Foo
?Bar
_
Foo@_bar
----------------------------------------------------
[
["variable", "Foo"],
["variable", "?Bar"],
["variable", "_"],
["variable", "Foo@_bar"]
]
----------------------------------------------------
Checks for variables.