Jlox
My first foray into understanding how actual interpreters and compilers work, following this excellent book, Crafting Interpreters by Bob Nystrom.
Additions
Alongside the features supported in Crafting Interpreters, I've added -
- Do-while loops
- Break, Continue statements
- Bitwise operators ( ~, &, ^, | )
- Exponeniation operator **
- Modulo operator %
- Ternary operator ?:
- Comma operator ,
- Nested /**/ comments