10.11 Chapter Summary
The main elements of an interpreter language implementation are:
a read-eval-print loop user interface (e.g., main_func)
a front end (i.e., scanner and parser, e.g., parser.parse)
an abstract-syntax data type (e.g., the expression data type TreeNode)
an interpreter (e.g., the evaluate_expr function)
supporting data types/structures and libraries (e.g., environment)
Figure 10.4 and Table 10.2 indicate the dependencies between the versions of Camille developed in this chapter, including the programming exercises. Table 10.3 summarizes the concepts and features implemented in the progressive versions of Camille developed in this chapter, including the programming exercises. Table 10.4 outlines the configuration options available ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access