Simple token parser implemented.