December 2021
Beginner
840 pages
47h 29m
English
To support an assignment statement in Camille, we add the following rules to the grammar and corresponding pattern-action rules to the PLY parser generator:
It is helpful to draw a distinction between binding and variable assignment. A binding associates a name with a value. A variable assignment, in contrast, is a mutation of the expressed value stored in a memory cell. For instance, an identifier x can be associated with a reference, where a reference is an expressed value containing ...