Next: Test Programs for ALLCOT (7
Up: The Assignment
Previous: Lists for ALLCOT (6 marks)
Write a lexical analyzer for your version of the ALLCOT language
using lex or flex.
Your lexer must
- recognize the tokens that are part of the ALLCOT language,
- print error messages for the strings that are not valid ALLCOT lexemes.
You will be using your lexer in future assignments, so design your lexer with this in mind.
Next: Test Programs for ALLCOT (7
Up: The Assignment
Previous: Lists for ALLCOT (6 marks)
Marc Moreno Maza
2004-12-01