From 60c8f636596de722a91f9dba1f2ae631a61a6484 Mon Sep 17 00:00:00 2001 From: Erik Oosting Date: Mon, 11 Dec 2023 16:11:59 +0100 Subject: add more operators --- gen/ANFLexer.tokens | 48 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 14 deletions(-) (limited to 'gen/ANFLexer.tokens') diff --git a/gen/ANFLexer.tokens b/gen/ANFLexer.tokens index 77df291..9b90376 100644 --- a/gen/ANFLexer.tokens +++ b/gen/ANFLexer.tokens @@ -9,17 +9,37 @@ T__7=8 T__8=9 T__9=10 T__10=11 -IDENT=12 -NUMBER=13 -WS=14 -'('=1 -'+'=2 -')'=3 -'-'=4 -'*'=5 -'/'=6 -':'=7 -','=8 -'let'=9 -'='=10 -'in'=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 +IDENT=22 +NUMBER=23 +WS=24 +'true'=1 +'false'=2 +'('=3 +'+'=4 +')'=5 +'-'=6 +'*'=7 +'/'=8 +'>'=9 +'<'=10 +'=='=11 +'<<'=12 +'>>'=13 +'&&'=14 +'||'=15 +'^^'=16 +':'=17 +','=18 +'let'=19 +'='=20 +'in'=21 -- cgit 1.4.1-2-gfad0