Chinese annotation for clox.
https://craftinginterpreters.com/a-bytecode-virtual-machine.html
cd build && cmake .. && make
./bin/clox # run
You may find them in /notes
- Chaptor 14: Chunks of Bytecode
- Chaptor 15: A Virtual Machine
- Chaptor 16: Scanning on Demand
- Chaptor 17: Compiling Expressions
- Chaptor 18: Types of Values
- Chaptor 19: String
- Chaptor 20: Hash Tables
- Chaptor 21: Global Variables
- Chaptor 22: Local Variables
- Chaptor 23: Jumping Back and Forth
- Chaptor 24: Calls and Functions
- Chaptor 25: Closures
- Chaptor 26: Garbage Collection
- Chaptor 27: Classes and Instances
- Chaptor 28: Methods and Initializers
- Chaptor 29: Superclasses
- Chaptor 30: Optimization