summary refs log tree commit diff
path: root/examples/2.src
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-09 00:06:15 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-09 00:06:15 +0100
commitc89c8be475534baa4941364ee78f4185f7517c30 (patch)
tree3f594f1264235b1ff99e55e05cea3a44a6667738 /examples/2.src
parentEvaluator: Implement first version of evaluator that handles print statements (diff)
downloadinterpreter-c89c8be475534baa4941364ee78f4185f7517c30.tar.gz
interpreter-c89c8be475534baa4941364ee78f4185f7517c30.tar.bz2
interpreter-c89c8be475534baa4941364ee78f4185f7517c30.zip
Evaluator: Implement variable declaration and definition and variable printing
Diffstat (limited to 'examples/2.src')
-rw-r--r--examples/2.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/2.src b/examples/2.src
index 3012b27..da99740 100644
--- a/examples/2.src
+++ b/examples/2.src
@@ -1,5 +1,5 @@
 let test = 1922;
 
-test = 4;
+test = 7;
 
 print(test);