Tag: summer

  • Woah… My Tuesday During the Summer

    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%…