Get infix arithmetic operators working.

This commit is contained in:
Bob Nystrom
2013-10-31 07:04:44 -07:00
parent 3f433922eb
commit 64f1b39ee9
9 changed files with 179 additions and 42 deletions

View File

@ -1,9 +1,6 @@
class Foo { // line comment
bar {
123
}
}
var a = Foo.new
a.bar
"something".contains("meth")
io.write("hey there")
io.write(1 + 2)
io.write(3 - 1)
io.write(10 / 3)
io.write(20 * 30)
io.write("abc" + "def")
io.write(1 + "string")