diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-12 13:10:52 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-12 13:10:52 +0100 |
commit | 3b97c7c9f1094bbf7704f58f64b70118a5dda6dc (patch) | |
tree | 649092f2824a4dbbf0de5acc99e41384b3f6a782 /examples | |
parent | Evaluator: Add simple test (diff) | |
download | interpreter-3b97c7c9f1094bbf7704f58f64b70118a5dda6dc.tar.gz interpreter-3b97c7c9f1094bbf7704f58f64b70118a5dda6dc.tar.bz2 interpreter-3b97c7c9f1094bbf7704f58f64b70118a5dda6dc.zip |
Misc: Improve error messages and add todos
Diffstat (limited to 'examples')
-rw-r--r-- | examples/3.src | 5 | ||||
-rw-r--r-- | examples/4.src | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/3.src b/examples/3.src new file mode 100644 index 0000000..736ab61 --- /dev/null +++ b/examples/3.src @@ -0,0 +1,5 @@ +let ten = 10; + +let twelve = ten + 2; + +print(twelve); diff --git a/examples/4.src b/examples/4.src new file mode 100644 index 0000000..7e6662e --- /dev/null +++ b/examples/4.src @@ -0,0 +1,3 @@ +let hello = "hello"; + +print(hello + " world!"); |