blob: f305b55271397abc7d564c83700236b646c360c2 (
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
|
# This file meant as a test suite for tokenizers of the language.
# Obviously these lines should not appear, as they are comments
# Each actual line will have a comment before it, showing what type of
# token the tokenizer should output. This file is non-exhaustive, but
# should represent a variety of cases.
# Delimiter, delimiter
/;;/
# Delimiter
/;#;/
# All of the following should register as augment
~
`
!
%
&
&&
*
-
+
=
==
!==
|
||
/
?
>
<
<==
>==
!<
!>
^
^^
!&
!|
!^
# Literals
0.0
1
4
2
"1"
"
String with new lines
"
'\''
"\""
"\\\""
'\\'
# might be changed, but for now will output augment, literal
.0
# Should be three delimiters
/;
;;
;/
# Keywords
if
else
loop
continue
break
return
method
struct
enum
interface
export
module
const
static
volatile
raw
extends
override
asm
# Built-in Types
uint8
uint16
uint32
uint64
uint
int8
int16
int32
int64
int
float32
float64
float
bool
type
void
# optional
comp64
comp
vect
# separators
;
:
,
# main function example
/; main(int argc, ~~uint8 argv)[int]
return 0
;/
|