calc3 compiler from A Guide to Lex and Yacc