Replies: 2 comments 1 reply
-
what should that operator do? override |
Beta Was this translation helpful? Give feedback.
1 reply
-
I feel this is best handled by being explicit. Inheritance gets complicated quickly. Better to write both versions than try to parse/remember where exactly a given rule is defined. |
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
-
I am implementing a series of parsers that are based on some common syntax, but all have different extensions. I hope to extend a defined rule by introducing the '+=' operator.
Example
base.pest
string,pest
any.pest
parser.rs
Beta Was this translation helpful? Give feedback.
All reactions