Homework 1

Goal

Implement the lexical analysis program on pp. 34-35. Due October 12 before class.

Getting Started

Please add the following lines to your .cshrc file:
setenv PATH /local/apps/jdk/bin:$PATH
setenv JAVA_HOME /local/apps/jdk/
setenv CLASSPATH .:/local/apps/Java:/local/apps/Java/CUP:/local/apps/jdk/lib/classes.zip

Help material

You will need to refer to the following:

Deliverables

Due date is October 12 before class. Turn in your file
Tiger.lex
and any documentation or test files you want by running the following command from your working directory:
> /cs/classes/cis461/submit Tiger.lex ...
If you change your mind, you can delete submitted files by running:
> /cs/classes/cis461/usubmit file1 file2 ...
The "submit" and "usubmit" commands do not accept directory arguments.
Page visited times since September 14, 1998.

sabry@cs.uoregon.edu