blob: f92863ae170004777dbb709930ecea1a94e78935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
'' Text
'// regex' Comment.Single
'\n\n' Text.Whitespace
'blah' Name.Other
'(' Punctuation
'/abc/' Literal.String.Regex
')' Punctuation
';' Punctuation
'\n' Text.Whitespace
'x' Name.Other
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'/abc/' Literal.String.Regex
';' Punctuation
'\n' Text.Whitespace
'x' Name.Other
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'/abc/' Literal.String.Regex
'.' Punctuation
'match' Name.Other
';' Punctuation
'\n\n' Text.Whitespace
'// math' Comment.Single
'\n\n' Text.Whitespace
'blah' Name.Other
'(' Punctuation
'1' Literal.Number.Float
'/' Operator
'2' Literal.Number.Float
')' Punctuation
';' Punctuation
' ' Text.Whitespace
'//comment' Comment.Single
'\n' Text.Whitespace
'x' Name.Other
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'1' Literal.Number.Float
' ' Text.Whitespace
'/' Operator
' ' Text.Whitespace
'2' Literal.Number.Float
' ' Text.Whitespace
'/' Operator
' ' Text.Whitespace
'3' Literal.Number.Float
';' Punctuation
'\n' Text.Whitespace
'x' Name.Other
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'1' Literal.Number.Float
'/' Operator
'1' Literal.Number.Float
'/' Operator
'.1' Literal.Number.Float
';' Punctuation
'\n\n' Text.Whitespace
'// broken' Comment.Single
'\n\n' Text.Whitespace
'x' Name.Other
'=' Operator
'/1/' Literal.String.Regex
';' Punctuation
'\n' Text.Whitespace
'x' Name.Other
'=' Operator
'1' Literal.Number.Float
'/' Operator
'a' Name.Other
'/' Operator
'g' Name.Other
';' Punctuation
'\n' Text.Whitespace
'x' Name.Other
'=' Operator
'a' Name.Other
'/' Operator
'a' Name.Other
'/' Operator
'g' Name.Other
';' Punctuation
'\n\n' Text.Whitespace
'// real-world' Comment.Single
'\n\n' Text.Whitespace
'var' Keyword.Declaration
' ' Text.Whitespace
'x' Name.Other
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'1' Literal.Number.Float
'/' Operator
'(' Punctuation
'1' Literal.Number.Float
'+' Operator
'Math' Name.Builtin
'.' Punctuation
'sqrt' Name.Other
'(' Punctuation
'sum' Name.Other
')' Punctuation
')' Punctuation
';' Punctuation
' ' Text.Whitespace
'// convert to number between 1-0' Comment.Single
'\n' Text.Whitespace
'return' Keyword
' ' Text.Whitespace
'Math' Name.Builtin
'.' Punctuation
'round' Name.Other
'(' Punctuation
'(' Punctuation
'num' Name.Other
' ' Text.Whitespace
'/' Operator
' ' Text.Whitespace
'den' Name.Other
')' Punctuation
' ' Text.Whitespace
'*' Operator
' ' Text.Whitespace
'100' Literal.Number.Float
')' Punctuation
'/' Operator
'100' Literal.Number.Float
';' Punctuation
'\n' Text.Whitespace
|