Fox
is an enhanced implementation of lox, written in Java.
Along with the code in Crafting Interpreters, I've implemented:
- Arrays
- References
- Modules and imports
- Standard library
- Multi-line comments (they can nest!)
- Comma operator
- Ternary (conditional) operator
- Static class methods (metaclass)
- Getter methods
print
as a foreign function- Other foreign functions like
put()