First version grammar using Yacc and Lex