lex file of calculator

pay attention to regular expression
yacc file of calculator

it's like tetris, it checks token one by one