I will share my progress on trying to build golox which is an interpreter for the Lox language following the Crafting Interpreters book
go build .
Interactive mode (REPL)
./golox
Input file
.golox file.lox
- Defining the lanugage tokens and grammar
- Scanning (Lexing)
- Representing code
- Parsing expressions
- Evaluating expressions
- Statements and state
- Control flow
- Functions
- Resolving and binding
- Classes
- Inheritance