Skip to Content
Programming Languages: Concepts and Implementation
book

Programming Languages: Concepts and Implementation

by Saverio Perugini
December 2021
Beginner
840 pages
47h 29m
English
Jones & Bartlett Learning
Content preview from Programming Languages: Concepts and Implementation

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.
Start your free trial

You might also like

Concepts and Semantics of Programming Languages 1

Concepts and Semantics of Programming Languages 1

Therese Hardin, Mathieu Jaume, Francois Pessaux, Veronique Viguie Donzeau-Gouge
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9781284222739