cj-zhukov opened a new issue, #20025: URL: https://github.com/apache/datafusion/issues/20025
### Is your feature request related to a problem or challenge? As we discussed with @Jefffrey in https://github.com/apache/datafusion/pull/19750#issuecomment-3803158136 , I’d like to explore replacing the ad-hoc parsing logic in `datafusion-examples` used for generating documentation with a `nom`-based parser. ### Describe the solution you'd like `datafusion-examples` currently relies on custom / ad-hoc parsing logic for generating documentation. While functional, the existing approach can be difficult to reason about, extend, and validate against edge cases. Parser combinator libraries such as [nom](https://crates.io/crates/nom) may offer clearer structure, improved error handling, and more robust parsing - but they also introduce additional complexity and a new dependency. The goal of this issue is not to immediately replace the existing implementation, but to explore whether a `nom`-based parser: - Clearly simplifies the parsing logic - Improves correctness and robustness (especially around edge cases) - Makes future extensions easier to reason about and maintain If these benefits are not clear, keeping the current approach is a valid outcome. ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
