Lexical parser for numerics