December 2021
Beginner
840 pages
47h 29m
English
Building an interpreter for a computer language involves defining the following elements:
A Read-Eval-Print Loop (REPL): a user interface that reads program strings and passes them to the front end of the interpreter
A Front End: a source code parser that translates a string representing a program into an abstract-syntax representation—usually a tree—of the program, sometimes referred to as bytecode
An Interpreter:1 an expression evaluation function or loop that traverses and interprets an abstract-syntax representation of the program
Supporting Data Types/Structures and Libraries: a suite of abstract data types (e.g., an environment, closure, and reference) and associated functions to support the ...