Zuletzt aktiv 1729267242

Compilation. Orginalformat Playground
1[linear@construct parser]$ ../compiler.py constants.nv movement.nv input.nv equality.nv whitespace.nv main.nv > parser.c
2[linear@construct parser]$ gcc -O3 parser.c -o parser
3[linear@construct parser]$ cat lingo.nv
4|| self, sad, other, other, water, eye
5,, creature, garden, reason, destruction
6,, see, then
7
8|| self, sad, other, other, water, eye
9,, mo, see, then
10
11|| self, ne, see, then
12
13
14|| this is a sample
15[linear@construct parser]$ cat lingo.nv | ./parser
16
17self
18sad
19other
20other
21water
22eye
23
24
25creature
26garden
27reason
28destruction
29
30
31see
32then
33
34
35
36
37self
38sad
39other
40other
41water
42eye
43
44
45mo
46see
47then
48
49
50
51
52self
53ne
54see
55then
56
57
58
59
60
61this is a sample
62
63[linear@construct parser]$
64