Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 401 Bytes

notes.md

File metadata and controls

5 lines (3 loc) · 401 Bytes

This is a tree-walk interpreter

When we say a language implementation “is a compiler”, we mean it translates source code to some other form but doesn’t execute it. The user has to take the resulting output and run it themselves.

Conversely, when we say an implementation “is an interpreter”, we mean it takes in source code and executes it immediately. It runs programs “from source”.