blob: 2156e61b013e66b83f0abf3be08fdcfc75fb5836 (
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
|
'use' Keyword
' ' Text
'"' Literal.String
'somepkg' Literal.String
'"' Literal.String
'\n' Text
'\n' Text
'/*' Comment.Multiline
'\n ' Comment.Multiline
'/*' Comment.Multiline
' Nested ' Comment.Multiline
'*/' Comment.Multiline
'\n' Comment.Multiline
'*/' Comment.Multiline
'\n' Text
'\n' Text
'class' Keyword
' ' Text
'trn' Keyword
' ' Text
'Foo' Name.Class
'[' Punctuation
'A' Name.Type
':' Punctuation
' ' Text
'Stringable' Name.Type
' ' Text
'ref' Keyword
']' Punctuation
' ' Text
'is' Operator.Word
' ' Text
'Stringable' Name.Type
'\n' Text
' ' Text
'let' Keyword
' ' Text
'_' Name
'x' Name
' ' Text
'=' Operator
' ' Text
'"' Literal.String
'\\"' Literal.String
'"' Literal.String
'\n' Text
' ' Text
'\n' Text
' ' Text
'fun' Keyword
' ' Text
'val' Keyword
' ' Text
'dofoo' Name.Function
'(' Punctuation
')' Punctuation
' ' Text
'=>' Punctuation
'\n' Text
' ' Text
'"""\n DocString\n """' Literal.String.Doc
'\n' Text
' ' Text
'(' Punctuation
'U64' Name.Builtin.Type
'(' Punctuation
'2' Literal.Number.Integer
')' Punctuation
',' Punctuation
' ' Text
'"' Literal.String
'foo' Literal.String
'"' Literal.String
')' Punctuation
'.' Punctuation
'_2' Name
'\n' Text
'\n' Text
'actor' Keyword
' ' Text
'Main' Name.Class
'\n' Text
' ' Text
'new' Keyword
' ' Text
'create' Name.Function
'(' Punctuation
'env' Name
':' Punctuation
' ' Text
'Env' Name.Type
')' Punctuation
' ' Text
'=>' Punctuation
'\n' Text
' ' Text
'env' Name
'.' Punctuation
'out' Name
'.' Punctuation
'print' Name
'(' Punctuation
'"' Literal.String
'Hello world' Literal.String
'"' Literal.String
')' Punctuation
'\n' Text
|