Script started on Mon 25 Feb 2002 04:05:09 AM PST sh-2.03$ sh-2.03$ sh-2.03$ sh-2.03$ make g++ -g2 -c main.cpp g++ -g2 -c scan.cpp g++ -g2 -c parse.cpp g++ -g2 main.o scan.o parse.o -o cminus sh-2.03$ sh-2.03$ sh-2.03$ cminus usage: cminus [-no_parse] [-no_analyze] [-no_code][-trace_scan] [-trace_parse] [-trace_analyze][-trace_code] sh-2.03$ sh-2.03$ sh-2.03$ cminus -trace_parse nfact.mns CMINUS COMPILATION: nfact.mns TRACE PARSE Syntax tree: Function Declaration: Integer nfact Variable Declaration: Integer n Compound Stmt if Op: EQ == Id: n Const: 0 Compound Stmt return Const: 1 Compound Stmt return Op: TIMES * Id: n Call: nfact Op: MINUS - Id: n Const: 1 return Const: 0 Function Declaration: Void main Compound Stmt Variable Declaration: Integer n Op: ASSIGN = Id: n Call: input Op: ASSIGN = Id: n Call: nfact Id: n Call: output Id: n sh-2.03$ sh-2.03$ sh-2.03$ exit exit script done on Mon 25 Feb 2002 04:07:18 AM PST