diff options
| author | ov-4 <hausemasterstream@gmail.com> | 2026-01-29 10:41:27 +0000 |
|---|---|---|
| committer | ov-4 <hausemasterstream@gmail.com> | 2026-01-29 10:41:27 +0000 |
| commit | f1fedc36ec54578be4983d2fc6abee999dbc51c2 (patch) | |
| tree | 959fae06a583e96a219527b7032609f435f9108b /include/cps/Lexer.h | |
| parent | c2a3cecc1ab2d3f27dcea40a6f0f353b0306d66a (diff) | |
Added binary operations +-*/
Diffstat (limited to 'include/cps/Lexer.h')
| -rw-r--r-- | include/cps/Lexer.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h index 0ad5609..b5ab37c 100644 --- a/include/cps/Lexer.h +++ b/include/cps/Lexer.h @@ -13,7 +13,17 @@ enum Token { tok_identifier = -6, tok_number = -7, tok_assign = -8, // <- - tok_colon = -9 // : + tok_colon = -9, // : + + tok_if = -10, + tok_then = -11, + tok_else = -12, + tok_endif = -13, + + tok_eq = -20, // = + tok_ne = -21, // <> + tok_le = -22, // <= + tok_ge = -23 // >= }; class Lexer { |
