{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

proj1 - Project 1 Lexical Analysis CSC 4351 Spring 2011 Due...

Info icon This 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.
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern