application/x-wren
*.wren;
//
/*
*/
\\( # leading backslash
[\\\"\'nrbtfav\?] | # escaped character
[0-7]{1,3} | # one, two, or three octal digits
x[0-9A-Fa-f]+ # 'x' followed by hex digits
)
(import)\s*
(".*?")\s+
(for)\s+
L?"
"
\%{escaped-character}
(?<![\w\.])
((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]*)? |
([0-9]+[Ee][+-]?[0-9]*))
[fFlL]?
(?![\w\.])
(?<![\w\.])
0[xX][a-fA-F0-9]+[uUlL]*
(?![\w\.])
(?<![\w\.])
0[xX][a-fA-F0-9]*[g-zG-Z][a-zA-Z0-9]*[uUlL]*
(?![\w\.])
(?<![\w\.])
0[0-7]+[uUlL]*
(?![\w\.])
(?<![\w\.])
0[0-7]*[89][0-9]*[uUlL]*
(?![\w\.])
(?<![\w\.])
(0|[1-9][0-9]*)[uUlL]*
(?![\w\.])
as
break
class
construct
continue
else
false
for
foreign
if
import
in
is
null
return
static
super
this
true
var
while
in
is
Bool
Class
Fiber
Fn
List
Map
Null
Num
Object
Range
Sequence
String
System
Meta
Random
\b
(?!(Bool|Class|Fiber|Fn|List|Map|Null|Num|Object|Range|Sequence|String|System|Meta|Random))
([A-Z][A-Za-z]*)
\b
true
false