Lox bytecode virtual machine interpreter written in Go. Based on https://www.craftinginterpreters.com
- Data Types: Boolean, Number, String, Nil
- Expressions: Arithmetic, Comparison and equality, Logical operators, Precedence and grouping
- Statements
- Variables: Global, Local
- Control Flow: If else, While, For
- Function: Closure
- Class: Instantiation, Inheritance
go build
golox <path-to-file>
go run main.go <path-to-file>