/Lox

https://craftinginterpreters.com/

Primary LanguageJava

Lox

A Lox implementation from the book Crafting Interpreters.

Chapters

  • 1. Introduction September 7th, 2020
  • 2. A Map of the Territory September 8th, 2020
  • 3. The Lox Language September 9th, 2020
  • 4. Scanning September 10th, 2020
  • 5. Representing Code September 11th, 2020
  • 6. Parsing Expressions September 12th, 2020
  • 7. Evaluating Expressions September 12th, 2020
  • 8. Statements and State September 12th, 2020
  • 9. Control Flow September 12th, 2020
  • 10. Functions September 12th, 2020
  • 11. Resolving and Binding September 13th, 2020
  • 12. Classes September 13th, 2020
  • 13. Inheritance September 13th, 2020
  • 14. Chunks of Bytecode September 16th, 2020
  • 15. A Virtual Machine September 22nd, 2020
  • 16. Scanning on Demand September 27th, 2020
  • 17. Compiling Expressions October 9th, 2022
  • 18. Types of Values October 9th, 2022
  • 19. Strings October 9th, 2022
  • 20. Hash Tables October 9th, 2022
  • 21. Global Variables October 10th, 2022
  • 22. Local Variables
  • 23. Jumping Back and Forth
  • 24. Calls and Functions
  • 25. Closures
  • 26. Garbage Collection
  • 27. Classes and Instances
  • 28. Methods and Initializers
  • 29. Superclasses
  • 30. Optimization