add basic yacc grammar