Floating point number literals.

This commit is contained in:
Bob Nystrom
2013-11-09 21:32:57 -08:00
parent 3cdabcb8c7
commit f19dd64f8b
14 changed files with 64 additions and 33 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
io.write(1 + 2) // expect: 3
io.write(12.34 + 0.13) // expect: 12.47
io.write(3 + 5 + 2) // expect: 10
// TODO(bob): Floating point numbers.
// TODO(bob): Unsupported RHS types.