From bb4f474cb2247e0e314beab5d7d72e673ff4e8b6 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 24 Jul 2026 03:11:32 +0200 Subject: Implement a repeat loop --- boot/lexer.ll | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'boot/lexer.ll') diff --git a/boot/lexer.ll b/boot/lexer.ll index c363ddd..89fe85c 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -86,8 +86,14 @@ while { for { return yy::parser::make_FOR(this->location); } -by { - return yy::parser::make_BY(this->location); +repeat { + return yy::parser::make_REPEAT(this->location); +} +until { + return yy::parser::make_UNTIL(this->location); +} +with { + return yy::parser::make_WITH(this->location); } do { return yy::parser::make_DO(this->location); -- cgit v1.2.3