From 140a0bbecc144e554c1954f594a9f0d0b2276e9c Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 21 Mar 2018 12:29:09 -0400 Subject: interpreter overhaul, should be better --- test1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test1 (limited to 'test1') diff --git a/test1 b/test1 new file mode 100644 index 0000000..1d8588c --- /dev/null +++ b/test1 @@ -0,0 +1,13 @@ +# test1 +# arithmetic tests +# looking for proper basic function, respect for order of ops, +# and respect for parentheses + +2 + 5 +14 - 9 +3 * 8 + 3 +9 - 3 / 2 +3 * (8 + 3) +(9 - 3) / 2 +(4 + 5) * ((9 - 1) + 3) +5 - 3 + 4 -- cgit v1.2.3