Viicos commented on issue #1392: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1392#issuecomment-3426414825
For 1., it all depends on what the OP meant by "partial parsing". Is it parsing only a part of a SQL statement (in which case the parser needs to be error tolerant if the partial statement is invalid as is)? Or partial parsing as "only do some steps of the parsing process"? For the latter, it would only require making the lexer error tolerant. For syntax highlighting, although several alternatives can be used (regex-based lexer, tree-sitter (I believe), [TextMate grammars](https://macromates.com/manual/en/language_grammars)). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
