Implement Lexer and Parser.