proj1 - Project 1: Lexical Analysis CSC 4351, Spring 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Project 1: Lexical Analysis CSC 4351, Spring 2011 Due: 2 February 2011 Use JLex to implement a lexical analyzer for the Tiger language. You can find the description for this project on pages 34 and 35 of the first edition of the textbook. The specification of the lexical tokens is in the Tiger Language Reference Manual in Appendix A. Environment and Support Files Define the following environment variables (in bash syntax) in your .profile file: export CS4351=/classes/cs4351/cs4351_bau/pub export PROG=chap2 export TIGER=${CS4351}/tiger export CLASSPATH=.:. .:${CS4351}/classes/${PROG}:${CS4351}/classes The directory ${CS4351} contains publicly available files for this class. The variable PROG names the book chapter containing the project description and is used for setting the CLASSPATH . The environment variable TIGER points to a directory containing code skeletons for the projects. The CLASSPATH contains four directories. The current and the parent directories are used for find- ing the compiled files of your own compiler when you are in your working directory. The directory
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/31/2011 for the course CSC 4351 taught by Professor Baumgartner,g during the Fall '08 term at LSU.

Page1 / 2

proj1 - Project 1: Lexical Analysis CSC 4351, Spring 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online