oxcrow
oxcrow
This would be extremely helpful. As I've seen, pest prints helpful errors, and hopefully pest-ast can also print similarly helpful errors.
I realize, the previous code I shared might be little bit ugly to read/understand. Here's a "prettier" version of the same code, which I refactored, to be more easy to...
I might have fixed it. This is a rust specific issue, and it can be resolved using `r#type`. i.e ```rust #[derive(Debug, Clone, FromPest)] #[pest_ast(rule(Rule::r#type))] //
It is a specific case of setters, but if implemented, it can also improve user's productivity. Adding `-> &mut Self` as a return type to all setters, then returning `self`,...
I see this method being useful as a simplified version of a [Builder Pattern](https://youtu.be/5DWU-56mjmg) Rust doesn't support function overloading, and it's non-trivial to create different functions to construct objects in...
Thanks @asukaminato0721 Initially I didn't think `derive_builder` would be what I was looking for, but I think it is better to use derive macros to auto-generate all of the getters...
I can think of a dirty hack that might just work. _Allow a single reserved symbol (let's say `#`) to match immediately when called_ Ex: Modify the rule I showed...
There might be another simpler solution ... _Instead of modifying pest's grammar, what if we modify pest-ast?_ If an `Option` node exists in a struct/enum that will be parsed by...
Thanks! I'm glad to help. :smiley: Developing this feature may obviously take some time, so for users like me who will be waiting, I would recommend not to use such...
Hi, Has there been any progress regarding this feature?