December 2021
Beginner
840 pages
47h 29m
English
To support local binding, we require syntactic and operational support for identifiers. Syntactically, to support local binding of values to identifiers in Camille, we add the following rules to the grammar:
We must also add the let and in keywords to the generator of the scanner on lines 10–16 at the beginning of Section 10.6.1. The following are the corresponding pattern-action rules in the PLY parser generator:
We also must augment the t_WORD function in the lexical analyzer generator so that ...
Read now
Unlock full access