aboutsummaryrefslogtreecommitdiff
path: root/example/input.txt
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-11-08 22:53:41 +0100
committerWilliam Hergès <william@herges.fr>2025-11-08 22:53:41 +0100
commitc7a26d3c6125caa9239cec9bf08db935d98e19c1 (patch)
tree77222ae3903da80d619d7a33d307d0d46c4eb9bb /example/input.txt
parentf52f066e7cf6b4c96e452a8f7e803d7f1895e9a1 (diff)
feat(syntax): eval statement
Diffstat (limited to 'example/input.txt')
-rw-r--r--example/input.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/example/input.txt b/example/input.txt
index a530f47..7233dc7 100644
--- a/example/input.txt
+++ b/example/input.txt
@@ -1,8 +1,7 @@
-:a = 7
-:b = 4
-:res = (:a + :b) * 10 / 2
+:a = 7;; :b = 4;;
+(:a + :b) * 10 / 2
:x = 20
:y = 3
:z = 6
-:val = 10 + :z / :y * :x / 4
+10 + :z / :y * :x / 4