Program translation -- 4

Job ID: 31679770

Budget: $30 – $250 USD

Implement scanner for the provided lexical definitions (see next page)
• The scanner is embedded and thus it will return one token every time it is called by a parser
o Since the parser is not available yet, we will use a tester program
• Implement the scanner in a separate file with basename "scanner"
• For testing purposes, the scanner will be tested using a testing driver implemented in file with
basename "testScanner".
o You need to implement your own tester and include as a part of the project.
o The tester will ask for one token at a time and display the token to the screen one per line,
including information (descriptive) on what token class, what token instance, and what line.