diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-06 22:36:34 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-06 22:36:34 +1000 |
| commit | 7a8d2bcd75d88a5429937bf551878c55e1dcf0fd (patch) | |
| tree | 81bc1f259fb8678513aa8b214df4ef72720bb585 /Compiler/gen/CGrammar.tokens | |
| parent | 16f3cb74564cf7c19da6e13666c98aca36094716 (diff) | |
moved everything to seperate projects, and started compiler work + push and pop instructions added
Diffstat (limited to 'Compiler/gen/CGrammar.tokens')
| -rw-r--r-- | Compiler/gen/CGrammar.tokens | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Compiler/gen/CGrammar.tokens b/Compiler/gen/CGrammar.tokens new file mode 100644 index 0000000..fc1a392 --- /dev/null +++ b/Compiler/gen/CGrammar.tokens @@ -0,0 +1,52 @@ +T__0=1 +T__1=2 +T__2=3 +T__3=4 +T__4=5 +T__5=6 +T__6=7 +T__7=8 +T__8=9 +T__9=10 +T__10=11 +T__11=12 +T__12=13 +T__13=14 +T__14=15 +T__15=16 +T__16=17 +T__17=18 +T__18=19 +T__19=20 +T__20=21 +T__21=22 +T__22=23 +T__23=24 +T__24=25 +ID=26 +INT=27 +'int'=1 +'('=2 +')'=3 +'{'=4 +'}'=5 +'return'=6 +';'=7 +'!'=8 +'~'=9 +'*'=10 +'/'=11 +'%'=12 +'+'=13 +'-'=14 +'<'=15 +'>'=16 +'<='=17 +'>='=18 +'=='=19 +'!='=20 +'&'=21 +'|'=22 +'^'=23 +'&&'=24 +'||'=25 |
