Lexer and parser basic functionality.