next up previous
Next: About this document ... Up: The Assignment Previous: Test Programs for ALLCOT (7

Preparing for Symbol Tables (7 marks)

Enhance your lex (or flex) program such that it can display all identifiers that are found after parsing an input ALLCOT program. In addition, for each of these identifiers, print Subsidiary question. Can you modify your lex (or flex) program such that it can detect identifiers that are used (or defined) before they are declared?


next up previous
Next: About this document ... Up: The Assignment Previous: Test Programs for ALLCOT (7
Marc Moreno Maza
2004-12-01