sherwin@THIS-CLASS-IS-HELL% gmake parser
bison -d declare.y; /bin/mv declare.tab.c declare.tab.cc
declare.y contains 1 shift/reduce conflict.
g++ -c -g declare.tab.cc
flex -it scanner.l > scanner.cc
g++ -c -g scanner.cc
g++ -c main.cc -o main.o
g++ -c symtab.cc -o symtab.o
g++ -g declare.tab.o scanner.o main.o symtab.o -o parser
sherwin@THIS-CLASS-IS-HELL% f0k f0k f0k
syntax error "f0k f0k f0k"
sherwin@THIS-CLASS-IS-HELL% well f0k you t00
O_o
And how was your Tuesday spent? Drop a comment or somethin’…
From my burnt mind to yours… f0k Lab. Peace.