Implementing Tatsu features (regex and AST generation with named nodes) #578
badicsalex
started this conversation in
General
Replies: 1 comment
-
As a note, the pest AST "add-on" is almost good for the second point, all it needs is being able to name the structure fields. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm currently migrating a project from Python to Rust. One main part is a non-trivial grammatical parsing of specific patterns in an otherwise natural language text. In Python, I used the Tatsu library with great success [sic], but I'm missing a few features from most Rust PEG parser libraries I've found:
Since Tatsu is a very popular library, having an almost drop-in replacement in Rust would probably be a good thing for the community.
Currently I'm wondering whether I should send in pull requests to this project implementing these, or just roll my own PEG parser.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions