# # Make and run the solution. The command-line argument is the name of the EJay # program test input file. The default input file is test-files/fact-print.ej. # if ("$1" == "") then set f = sample-test-files/fact-print.ej else set f = $1 endif echo "Testing with $f" jflex ejay.jflex cup ejay.cup -parser EJayParser javac -g -classpath "$CLASSPATH":a4-support.jar *.java java -classpath "$CLASSPATH":a4-support.jar EJayInterpreterTest $f