blob: d7d625b43140c3b08aa9bc9a858b215ecd34f2dd (
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
|
---input---
exports (main)
def main(=> currentProcess) :Int as DeepFrozen:
traceln(`Current process: $currentProcess`)
"A \r \n \x00 \u1234"
'\u1234'
return 0
---tokens---
'exports' Keyword
' ' Text.Whitespace
'(' Punctuation
'main' Name
')' Punctuation
'\n' Text
'\n' Text
'def' Keyword.Declaration
' ' Text.Whitespace
'main' Name
'(' Punctuation
'=>' Operator
' ' Text.Whitespace
'currentProcess' Name
')' Punctuation
' ' Text.Whitespace
':' Punctuation
'Int' Keyword.Type
' ' Text.Whitespace
'as' Keyword
' ' Text.Whitespace
'DeepFrozen' Keyword.Type
':' Punctuation
'\n' Text
' ' Text.Whitespace
'traceln' Keyword.Pseudo
'(' Punctuation
'`' Literal.String.Backtick
'C' Literal.String.Backtick
'u' Literal.String.Backtick
'r' Literal.String.Backtick
'r' Literal.String.Backtick
'e' Literal.String.Backtick
'n' Literal.String.Backtick
't' Literal.String.Backtick
' ' Literal.String.Backtick
'p' Literal.String.Backtick
'r' Literal.String.Backtick
'o' Literal.String.Backtick
'c' Literal.String.Backtick
'e' Literal.String.Backtick
's' Literal.String.Backtick
's' Literal.String.Backtick
':' Literal.String.Backtick
' ' Literal.String.Backtick
'$currentProcess' Name
'`' Literal.String.Backtick
')' Punctuation
'\n' Text
' ' Text.Whitespace
'"' Literal.String.Double
'A' Literal.String.Double
' ' Literal.String.Double
'\\r' Literal.String.Escape
' ' Literal.String.Double
'\\n' Literal.String.Escape
' ' Literal.String.Double
'\\x00' Literal.String.Escape
' ' Literal.String.Double
'\\u1234' Literal.String.Escape
'"' Literal.String.Double
'\n' Text
' ' Text.Whitespace
"'" Literal.String.Double
'\\u1234' Literal.String.Escape
"'" Literal.String.Char
'\n' Text
' ' Text.Whitespace
'return' Keyword
' ' Text.Whitespace
'0' Literal.Number.Integer
'\n' Text
|