From 8f50e4d189bad9dbd180fd945881950769c3a989 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 24 Oct 2021 14:07:29 +0100 Subject: added the start of a type system --- code/simpleSableCCCalulator/examples/maths.txt | 2 +- code/simpleSableCCCalulator/examples/maths4.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 code/simpleSableCCCalulator/examples/maths4.txt (limited to 'code/simpleSableCCCalulator/examples') diff --git a/code/simpleSableCCCalulator/examples/maths.txt b/code/simpleSableCCCalulator/examples/maths.txt index f3b3bd9..36726f5 100644 --- a/code/simpleSableCCCalulator/examples/maths.txt +++ b/code/simpleSableCCCalulator/examples/maths.txt @@ -1 +1 @@ -(36/2 + 45) * 3 \ No newline at end of file +(36/2 + 45.2) * 3 \ No newline at end of file diff --git a/code/simpleSableCCCalulator/examples/maths4.txt b/code/simpleSableCCCalulator/examples/maths4.txt new file mode 100644 index 0000000..5b3e67d --- /dev/null +++ b/code/simpleSableCCCalulator/examples/maths4.txt @@ -0,0 +1 @@ +2 + 3.1 -- cgit v1.2.3