using lexical analysis for expression