Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (12 sloc) 335 Bytes
#!/bin/bash
if [ $1 = "-d" ]; then
shift
./bin/lexer $* > lexer.out
gdb -ex "set args $* < lexer.out" ./parser
# sadly i can't find the source to build the real reference parser
#elif [ $1 = "-r" ]; then
# shift
# /usr/class/cs143/bin/reflexer $* | /usr/class/cs143/bin/refparser $*
else
./bin/lexer $* | ./bin/parser $*
fi
You can’t perform that action at this time.