Project 1: Lexical Analysis
How to start?
Create a new directory and copy all files from /home/champion/q/ramakrip/java/project1/
(cp -r) to your directory. You need to have /home/champion/q/ramakrip/java/jdk1.1.4/bin
before /usr/opt/bin in your PATH and /home/champion/q/ramakrip/java/J
in your CLASSPATH.
Next read page 34 and 35 of the text book. This will give an idea
of what the files are and what you have to do. You need to modify
Parse/Tiger.lex only. Don't modify any other file. Example
programs for TIGER are available at /home/champion/q/ramakrip/java/tiger/testcases.
What to turn in?
Tiger.lex
is the only file that you'll turn in. ( and a readme file
if you want to)
New: Main.java has been modified
to print tok.value.
Turnin works now. Use
turnin -c cs352 -p project1 <your files>
Please don't mail the files. Use
turnin.