Go back to the main project page
Translating abstract -> abstract is quite different from translating concrete -> abstract. In the first part of the project, you followed a BNF very closely to find the information you needed to store in the abstract syntax. When you translate from one abstract syntax to the next, you will use both the BNF and the abstract syntax definitions. The easiest approach to this problem will be addressed in the next few sections.