following: https://craftinginterpreters.com/
Implemented a hashmap!
- add support for lists (usage)
- add static methods to classes using metaclasses (usage)
- add getter methods to classes (usage)
- add
hashnative function (usage) - support modulus
%operator - allow for nested block comments:
/* ... /* ... */ ... */ - variables must be initialized before accessed (they don't default to
nil) - disallow division by 0
- when the left operand of
+is a string, cast right operands into strings - add
breakstatements (usage). didn't addcontinue, it's a little more troublesome since it requires desugaring the for loop and performing the increment when the loop hits acontinue.