From 53002f2b8af90e5942f64f1bbb2f015f6a51424a Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Fri, 16 May 2025 12:29:13 +0200 Subject: [PATCH] Slight syntax adjustment I just couldn't stand "dotimes x 200", and "for x do 200 times" just feels so much nicer. I also added a space after an opening parenthesis to ensure that my tokenizer gets to eat this particular type of unnecessary but permitted whitespace. --- wip-duuqnd/syntax-example.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wip-duuqnd/syntax-example.txt b/wip-duuqnd/syntax-example.txt index 3c95293..26ef0d4 100644 --- a/wip-duuqnd/syntax-example.txt +++ b/wip-duuqnd/syntax-example.txt @@ -1,6 +1,6 @@ -dotimes x 200 +for x do 200 times if x < 100 then - pixeldraw(x + 10, x + 10) + pixeldraw (x + 10, x + 10) else pixeldraw(x + 10, 110) end