/cloxpp

VM implementation from Crafting Interpreters book.

Primary LanguageC++

cloxpp

This project follows Bob Nystrom's excellent book, Crafting Interpreters which takes you through the process of writing a virtual machine for a language called Lox. This VM is ported from the C to C++.

Progress

  1. Chunks of Bytecode.
  2. A Virtual Machine.
  3. Scanning on Demand.
  4. Compiling Expressions.
  5. Types of Values.
  6. Strings.
  7. Hash Tables. (no code, using std containers)
  8. Globals Variables.
  9. Local Variables.
  10. Jumping Back and Forth.
  11. Calls and Functions.
  12. Closures.
  13. Garbage Collection. (not implemented, using shared_ptr instead for ref counting)
  14. Classes and Instances.
  15. Methods and Initializers.
  16. Superclasses.