aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lxiny-examples/arithmetic.forth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lxiny-examples/arithmetic.forth')
-rw-r--r--tests/lxiny-examples/arithmetic.forth10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lxiny-examples/arithmetic.forth b/tests/lxiny-examples/arithmetic.forth
new file mode 100644
index 0000000..95eee8a
--- /dev/null
+++ b/tests/lxiny-examples/arithmetic.forth
@@ -0,0 +1,10 @@
+INPUT
+6 7 * .
+1360 23 - .
+12 12 / .
+13 2 mod .
+OUTPUT
+42
+1337
+1
+1