dtolnay / syn

Parser for Rust source code
Apache License 2.0
2.86k stars 311 forks source link

why not used grammar and parser generator? #1523

Closed 3DRaven closed 9 months ago

3DRaven commented 11 months ago

Hi! I'm sorry, it just a question for my understanding. Why it is not generated by parser-generator library? Or it based on generated parser? As example antlr4 or may be other generators have grammars for Rust.

dtolnay commented 9 months ago

Hi 3DRaven, if you are still interested in this, I would recommend taking this question to any of the resources shown in https://www.rust-lang.org/community to discuss the tradeoffs.