diff options
Diffstat (limited to 'test/integers.tm')
| -rw-r--r-- | test/integers.tm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/integers.tm b/test/integers.tm new file mode 100644 index 00000000..c20d08e6 --- /dev/null +++ b/test/integers.tm @@ -0,0 +1,33 @@ + +>> 2 + 3 += 5 + +>> 2 * 3 += 6 + +>> 2 + 3 * 4 += 14 + +>> 2 * 3 + 4 += 10 + +>> 1i8 + 2i16 += 3_i16 + +>> 2 ^ 10 += 1024 : Num64 + +>> 3 and 2 += 2 + +>> 3 or 4 += 7 + +>> 3 xor 2 += 1 + +nums := "" +for x in 5 + nums ++= "{x}," +>> nums += "1,2,3,4,5," |
