Skip to content

nchhillar2004/crafting-interpreters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crafting Interpreters Learnings

Lox scripting language interpreters.

High-Level Architecture

1. Tree-walk Interpreter (jlox – Java)

Lexing -> Parsing -> AST -> Interpreting

  • Variables & Scope
  • Control Flow
  • Functions & Closures
  • Classes

2. Bytecode VM (clox – C)

Compiler -> Bytecode -> Virtual Machine (VM)

  • Memory & Garbage Collection
  • Optimizations

Reference

Crafting Interpreters by Robert Nystrom

About

Lox: scripting language interpreter in Java and C-lang

Resources

Stars

Watchers

Forks

Contributors

Languages