Project Preliminaries

The following setup on the XINU lab machines is recommended for you to work on your project. Set your environment such that (in bash syntax):

  export CS502=/homes/cs502
  export MJ=$CS502/MiniJava
  export CLASSPATH=../bin:.
  export JAVACC=$CS502/javacc
  export PATH=$JAVACC/bin:$CS502/bin:$PATH
  export MANPATH=$CS502/man:$MANPATH

Files to get started with are available in the directory $MJ.  Each project is in a subdirectory X.  Use the command:

  cp -r $MJ/projX .
  
to copy them to your working directory (where X corresponds to the appropriate project number).

Example MiniJava programs can be found in $MJ/examples.