1 syntax "pony" "\.pony$"
3 color statement "\b(type|interface|trait|primitive|class|struct|actor)\b"
4 color statement "\b(compiler_intrinsic)\b"
5 color statement "\b(use)\b"
6 color statement "\b(var|let|embed)\b"
7 color statement "\b(new|be|fun)\b"
8 color statement "\b(iso|trn|ref|val|box|tag|consume)\b"
9 color statement "\b(break|continue|return|error)\b"
10 color statement "\b(if|then|elseif|else|end|match|where|try|with|as|recover|object|lambda|as|digestof|ifdef)\b"
11 color statement "\b(while|do|repeat|until|for|in)\b"
13 color statement "(\?|=>)"
14 color statement "(\||\&|\,|\^)"
16 color statement "(\-|\+|\*|/|\!|%|<<|>>)"
17 color statement "(==|!=|<=|>=|<|>)"
18 color statement "\b(is|isnt|not|and|or|xor)\b"
20 color type "\b(_*[A-Z][_a-zA-Z0-9\']*)\b"
22 color constant "\b(this)\b"
23 color constant "\b(true|false)\b"
25 color constant.number "\b((0b[0-1_]*)|(0o[0-7_]*)|(0x[0-9a-fA-F_]*)|([0-9_]+(\.[0-9_]+)?((e|E)(\\+|-)?[0-9_]+)?))\b"
26 color constant.string ""(\\.|[^"])*""
28 color comment start=""""[^"]*" end="""""
29 color comment "(^|[[:space:]])//.*"
30 color comment start="/\*" end="\*/"