3 ms·
Yes, rust declarative macros shine at exactly this kind of problem. And nom does use this to generate the implementation. But for some reason it's customary in
by iudqnolq 4y ago
Yes, rust declarative macros shine at exactly this kind of problem. And nom does use this to generate the implementation.
But for some reason it's customary in rust to stick to a lower number of autogenerated implementations. My first guess would be it might be a compile time issue?
https://docs.rs/nom/latest/src/nom/branch/mod.rs.html#245 https://docs.rs/nom/latest/src/nom/branch/mod.rs.html#245