Skip to content
/ cloxpp Public

VM implementation from Crafting Interpreters book.

Notifications You must be signed in to change notification settings

dmajere/cloxpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

VM implementation from Crafting Interpreters book.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published