From 7a8d2bcd75d88a5429937bf551878c55e1dcf0fd Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:36:34 +1000 Subject: moved everything to seperate projects, and started compiler work + push and pop instructions added --- Compiler/gen/CGrammarLexer.tokens | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Compiler/gen/CGrammarLexer.tokens (limited to 'Compiler/gen/CGrammarLexer.tokens') diff --git a/Compiler/gen/CGrammarLexer.tokens b/Compiler/gen/CGrammarLexer.tokens new file mode 100644 index 0000000..fc1a392 --- /dev/null +++ b/Compiler/gen/CGrammarLexer.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 -- cgit v1.3.1