update components

This commit is contained in:
Luke Pulverenti 2016-02-02 21:12:02 -05:00
parent 2a4b879c21
commit 63664e6c1c
1155 changed files with 62261 additions and 84 deletions

View file

@ -0,0 +1,17 @@
fx
fy
xf xfx xfy
yf yfx
----------------------------------------------------
[
["builtin", "fx"],
["builtin", "fy"],
["builtin", "xf"], ["builtin", "xfx"], ["builtin", "xfy"],
["builtin", "yf"], ["builtin", "yfx"]
]
----------------------------------------------------
Checks for builtins.

View file

@ -0,0 +1,16 @@
% Foobar
/**/
/* Foo
bar */
----------------------------------------------------
[
["comment", "% Foobar"],
["comment", "/**/"],
["comment", "/* Foo\r\nbar */"]
]
----------------------------------------------------
Checks for comments.

View file

@ -0,0 +1,17 @@
foobar(
foo_bar_42(
abs/1
atan/2
----------------------------------------------------
[
["function", "foobar"], ["punctuation", "("],
["function", "foo_bar_42"], ["punctuation", "("],
["function", "abs/1"],
["function", "atan/2"]
]
----------------------------------------------------
Checks for functions.

View file

@ -0,0 +1,15 @@
42
3.14159
0
----------------------------------------------------
[
["number", "42"],
["number", "3.14159"],
["number", "0"]
]
----------------------------------------------------
Checks for numbers.

View file

@ -0,0 +1,29 @@
is mod not xor
: \ =
> < -
? * @
/ ; +
^ | !
$ .
=@=
----------------------------------------------------
[
["operator", "is"], ["operator", "mod"], ["operator", "not"], ["operator", "xor"],
["operator", ":"], ["operator", "\\"], ["operator", "="],
["operator", ">"], ["operator", "<"], ["operator", "-"],
["operator", "?"], ["operator", "*"], ["operator", "@"],
["operator", "/"], ["operator", ";"], ["operator", "+"],
["operator", "^"], ["operator", "|"], ["operator", "!"],
["operator", "$"], ["operator", "."],
["operator", "=@="]
]
----------------------------------------------------
Checks for operators.

View file

@ -0,0 +1,27 @@
""
"fo\"obar"
"fo""obar"
"foo\
bar"
''
'fo\'obar'
'fo''obar'
'foo\
bar'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"obar\""],
["string", "\"fo\"\"obar\""],
["string", "\"foo\\\r\nbar\""],
["string", "''"],
["string", "'fo\\'obar'"],
["string", "'fo''obar'"],
["string", "'foo\\\r\nbar'"]
]
----------------------------------------------------
Checks for strings.

View file

@ -0,0 +1,15 @@
Foobar
Foo_bar_42
_foo
----------------------------------------------------
[
["variable", "Foobar"],
["variable", "Foo_bar_42"],
["variable", "_foo"]
]
----------------------------------------------------
Checks for variables.