Simple parser with separate lexical analyzer