Implement the tiger.lex based on flex grammar