Scanner III, Completing the Scanner

Posted Thursday, February 5  
Due at the beginning of your lab period the following week

 


Objectives

The objectives of this assignment are By the time this assignment is done, your scanner should be completely functional, ready to work with your parser (to come).

To Do

The following are the tasks to complete.

Future Considerations

Think about how you would produce a source listing of the program you are scanning so that the program looks just like it is entered by the programmer.  As errors occur, they should be noted by inserting an error line right below the source line with the appropriate error message and a mark (^) pointing to the start of the problem.  You can extend your scanner to do this, but it is not a requirement.

Special requirements

To Turn In

As usual, be sure that your source and executable files are available on esus by the start of your next lab period.  Be ready to test your program in lab against supplied test files.