aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Lexer.h
diff options
context:
space:
mode:
authorov-4 <hausemasterstream@gmail.com>2026-01-29 13:02:49 +0000
committerov-4 <hausemasterstream@gmail.com>2026-01-29 13:02:49 +0000
commit4573880fcc32bd76a72a4ae713190cd997194583 (patch)
tree3ce19dc8805996f65ba60b0f2144cce89c46ea1f /include/cps/Lexer.h
parent73634b66d412735c292b3941d1281ff0a3c9e5a1 (diff)
Added loop statements, FOR, WHILE and REPEAT
Diffstat (limited to 'include/cps/Lexer.h')
-rw-r--r--include/cps/Lexer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h
index b5ab37c..a03c3f6 100644
--- a/include/cps/Lexer.h
+++ b/include/cps/Lexer.h
@@ -20,6 +20,16 @@ enum Token {
tok_else = -12,
tok_endif = -13,
+ tok_while = -14,
+ tok_do = -15,
+ tok_endwhile = -16,
+ tok_repeat = -17,
+ tok_until = -18,
+ tok_for = -19,
+ tok_to = -24,
+ tok_step = -25,
+ tok_next = -26,
+
tok_eq = -20, // =
tok_ne = -21, // <>
tok_le = -22, // <=