Commit Graph

1 Commits

Author SHA1 Message Date
Bob Nystrom
fb6312e7ae feat: implement infix arithmetic operators for numbers and string concatenation
Add parser support for +, -, *, / operators with correct precedence (term/factor) and emit method calls. Implement primitive methods for num_plus, num_minus, num_multiply, num_divide, and string_plus. Update VM to pass VM pointer to primitives and add unsupported value for type errors. Include test files for each operator.
2013-10-31 14:04:44 +00:00