next up previous
Next: Symbol Tables for ALLCOT Up: The Assignment Previous: Status of your ALLCOT

A parser for ALLCOT

Using flex/lex and yacc, write a first parser for your version of ALLCOT without creation of symbol tables. The only goal of this parser is only to check whether an input text file is a valid ALLCOT program or not. Your parser should report on errors. But, error recovery is not required. So, your parser may halt the parsing after the first error is met.


next up previous
Next: Symbol Tables for ALLCOT Up: The Assignment Previous: Status of your ALLCOT
Marc Moreno Maza
2004-12-01