From 7c5f098511b8f612a17f4ccdd8a4924c325d37e1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 18 Oct 2024 22:35:27 +0300 Subject: initial parser+lexer + AST might still change, also not a *huge* fan of having to reverse all arrays but I guess it's unlikely to be a significant bottleneck --- examples/sum.lyn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/sum.lyn b/examples/sum.lyn index a4dcf61..55338f6 100644 --- a/examples/sum.lyn +++ b/examples/sum.lyn @@ -1,6 +1,6 @@ syntax for {init cond post body} { eval init - while (eval cond) { + while {eval cond} { eval body eval post } -- cgit v1.2.3