Commit Graph

5 Commits

Author SHA1 Message Date
Luna 9ac5fccc2b add objects and string comparison 2019-06-02 14:01:54 -03:00
Luna 1d774c6011 add support for nil, true and false literal values 2019-06-01 23:44:59 -03:00
Luna 589413488c move towards dynamically typed values
- remove InterpretResult as an enum, replace by error.
 - scanner: fix peekNext()
 - vm: add runtime errors, add VM.peek()
2019-06-01 23:33:53 -03:00
Luna 2d33e03efb add incomplete ConstantLong instruction
- move ValueList's count to usize for ConstantLong
2019-06-01 02:06:23 -03:00
Luna ba78b39300 add constant values to the virtual machine 2019-06-01 01:46:01 -03:00