Yacc program for calculator with EST