@rustlang Hello! Where can I see the complete BNF grammar of Rust? I'm writing a useful procedural macro and I need to know how to parse the Rust code.
You might like the syn crate, if you’re not aware of it, then you don’t need to parse things yourself
-
-
Oh, it would be very well. Thanks a lot. At now I'm using for parsing of Rust code ugly mix pattern-matching and ingenious algorithms )
- End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
