use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
alias application boolean class constant
|
||||
date file integer list number
|
||||
POSIX file
|
||||
real record reference
|
||||
RGB color
|
||||
script text centimetres centimeters feet
|
||||
inches kilometres kilometers metres meters
|
||||
miles yards
|
||||
square feet square kilometres square kilometers square metres
|
||||
square meters square miles square yards
|
||||
cubic centimetres cubic centimeters cubic feet cubic inches
|
||||
cubic metres cubic meters cubic yards
|
||||
gallons litres liters quarts grams
|
||||
kilograms ounces pounds
|
||||
degrees Celsius degrees Fahrenheit degrees Kelvin
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["class", "alias"], ["class", "application"], ["class", "boolean"], ["class", "class"], ["class", "constant"],
|
||||
["class", "date"], ["class", "file"], ["class", "integer"], ["class", "list"], ["class", "number"],
|
||||
["class", "POSIX file"],
|
||||
["class", "real"], ["class", "record"], ["class", "reference"],
|
||||
["class", "RGB color"],
|
||||
["class", "script"], ["class", "text"], ["class", "centimetres"], ["class", "centimeters"], ["class", "feet"],
|
||||
["class", "inches"], ["class", "kilometres"], ["class", "kilometers"], ["class", "metres"], ["class", "meters"],
|
||||
["class", "miles"], ["class", "yards"],
|
||||
["class", "square feet"], ["class", "square kilometres"], ["class", "square kilometers"], ["class", "square metres"],
|
||||
["class", "square meters"], ["class", "square miles"], ["class", "square yards"],
|
||||
["class", "cubic centimetres"], ["class", "cubic centimeters"], ["class", "cubic feet"], ["class", "cubic inches"],
|
||||
["class", "cubic metres"], ["class", "cubic meters"], ["class", "cubic yards"],
|
||||
["class", "gallons"], ["class", "litres"], ["class", "liters"], ["class", "quarts"], ["class", "grams"],
|
||||
["class", "kilograms"], ["class", "ounces"], ["class", "pounds"],
|
||||
["class", "degrees Celsius"], ["class", "degrees Fahrenheit"], ["class", "degrees Kelvin"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all classes.
|
@ -0,0 +1,21 @@
|
||||
-- foo bar
|
||||
# foo bar
|
||||
(* foo
|
||||
bar *)
|
||||
(* foo
|
||||
(* bar *)
|
||||
*)
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "-- foo bar"],
|
||||
["comment", "# foo bar"],
|
||||
["comment", "(* foo\r\nbar *)"],
|
||||
["comment", "(* foo\r\n(* bar *)\r\n*)"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-line and multi-line comments.
|
||||
Also checks for one level of nesting.
|
@ -0,0 +1,59 @@
|
||||
about above after against
|
||||
apart from
|
||||
around
|
||||
aside from
|
||||
at back before beginning behind below
|
||||
beneath beside between but by
|
||||
considering continue copy
|
||||
does eighth else end
|
||||
equal error every exit
|
||||
false fifth first for fourth
|
||||
from front get given global
|
||||
if ignoring in
|
||||
instead of
|
||||
into is it its last
|
||||
local me middle my
|
||||
ninth of on onto
|
||||
out of
|
||||
over prop property put
|
||||
repeat return returning
|
||||
second set seventh since sixth
|
||||
some tell tenth that the
|
||||
then third through thru timeout
|
||||
times to transaction true try
|
||||
until where while whose with
|
||||
without
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "about"], ["keyword", "above"], ["keyword", "after"], ["keyword", "against"],
|
||||
["keyword", "apart from"],
|
||||
["keyword", "around"],
|
||||
["keyword", "aside from"],
|
||||
["keyword", "at"], ["keyword", "back"], ["keyword", "before"], ["keyword", "beginning"], ["keyword", "behind"], ["keyword", "below"],
|
||||
["keyword", "beneath"], ["keyword", "beside"], ["keyword", "between"], ["keyword", "but"], ["keyword", "by"],
|
||||
["keyword", "considering"], ["keyword", "continue"], ["keyword", "copy"],
|
||||
["keyword", "does"], ["keyword", "eighth"], ["keyword", "else"], ["keyword", "end"],
|
||||
["keyword", "equal"], ["keyword", "error"], ["keyword", "every"], ["keyword", "exit"],
|
||||
["keyword", "false"], ["keyword", "fifth"], ["keyword", "first"], ["keyword", "for"], ["keyword", "fourth"],
|
||||
["keyword", "from"], ["keyword", "front"], ["keyword", "get"], ["keyword", "given"], ["keyword", "global"],
|
||||
["keyword", "if"], ["keyword", "ignoring"], ["keyword", "in"],
|
||||
["keyword", "instead of"],
|
||||
["keyword", "into"], ["keyword", "is"], ["keyword", "it"], ["keyword", "its"], ["keyword", "last"],
|
||||
["keyword", "local"], ["keyword", "me"], ["keyword", "middle"], ["keyword", "my"],
|
||||
["keyword", "ninth"], ["keyword", "of"], ["keyword", "on"], ["keyword", "onto"],
|
||||
["keyword", "out of"],
|
||||
["keyword", "over"], ["keyword", "prop"], ["keyword", "property"], ["keyword", "put"],
|
||||
["keyword", "repeat"], ["keyword", "return"], ["keyword", "returning"],
|
||||
["keyword", "second"], ["keyword", "set"], ["keyword", "seventh"], ["keyword", "since"], ["keyword", "sixth"],
|
||||
["keyword", "some"], ["keyword", "tell"], ["keyword", "tenth"], ["keyword", "that"], ["keyword", "the"],
|
||||
["keyword", "then"], ["keyword", "third"], ["keyword", "through"], ["keyword", "thru"], ["keyword", "timeout"],
|
||||
["keyword", "times"], ["keyword", "to"], ["keyword", "transaction"], ["keyword", "true"], ["keyword", "try"],
|
||||
["keyword", "until"], ["keyword", "where"], ["keyword", "while"], ["keyword", "whose"], ["keyword", "with"],
|
||||
["keyword", "without"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
@ -0,0 +1,17 @@
|
||||
42
|
||||
3.14159
|
||||
3e10
|
||||
4.2E-5
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42"],
|
||||
["number", "3.14159"],
|
||||
["number", "3e10"],
|
||||
["number", "4.2E-5"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for numbers.
|
@ -0,0 +1,48 @@
|
||||
& = ≠ ≤ ≥
|
||||
* + - / ÷ ^
|
||||
< <= > >=
|
||||
|
||||
start with begin with end with
|
||||
starts with begins with ends with
|
||||
does not contain doesn't contain
|
||||
contain contains
|
||||
is in isn't in is not in
|
||||
is contained by isn't contained by is not contained by
|
||||
greater than greater than or equal greater than or equal to
|
||||
less than less than or equal less than or equal to
|
||||
does not come before doesn't come before comes before
|
||||
does not come after doesn't come after comes after
|
||||
is equal isn't equal is not equal
|
||||
is equal to isn't equal to is not equal to
|
||||
does not equal doesn't equal equals
|
||||
isn't is not
|
||||
ref a ref to a reference to
|
||||
and or div mod as not
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "&"], ["operator", "="], ["operator", "≠"], ["operator", "≤"], ["operator", "≥"],
|
||||
["operator", "*"], ["operator", "+"], ["operator", "-"], ["operator", "/"], ["operator", "÷"], ["operator", "^"],
|
||||
["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="],
|
||||
["operator", "start with"], ["operator", "begin with"], ["operator", "end with"],
|
||||
["operator", "starts with"], ["operator", "begins with"], ["operator", "ends with"],
|
||||
["operator", "does not contain"], ["operator", "doesn't contain"],
|
||||
["operator", "contain"], ["operator", "contains"],
|
||||
["operator", "is in"], ["operator", "isn't in"], ["operator", "is not in"],
|
||||
["operator", "is contained by"], ["operator", "isn't contained by"], ["operator", "is not contained by"],
|
||||
["operator", "greater than"], ["operator", "greater than or equal"], ["operator", "greater than or equal to"],
|
||||
["operator", "less than"], ["operator", "less than or equal"], ["operator", "less than or equal to"],
|
||||
["operator", "does not come before"], ["operator", "doesn't come before"], ["operator", "comes before"],
|
||||
["operator", "does not come after"], ["operator", "doesn't come after"], ["operator", "comes after"],
|
||||
["operator", "is equal"], ["operator", "isn't equal"], ["operator", "is not equal"],
|
||||
["operator", "is equal to"], ["operator", "isn't equal to"], ["operator", "is not equal to"],
|
||||
["operator", "does not equal"], ["operator", "doesn't equal"], ["operator", "equals"],
|
||||
["operator", "isn't"], ["operator", "is not"],
|
||||
["operator", "ref"], ["operator", "a ref to"], ["operator", "a reference to"],
|
||||
["operator", "and"], ["operator", "or"], ["operator", "div"], ["operator", "mod"], ["operator", "as"], ["operator", "not"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for most of the operators.
|
@ -0,0 +1,13 @@
|
||||
""
|
||||
"foo bar"
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"foo bar\""]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for strings.
|
Reference in New Issue
Block a user