Write modifiers in grammar instead of overloads #921
Closed
Felienne
started this conversation in
Large Projects & Plans
Replies: 1 comment
-
Fixed by #1311 |
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
-
In some cases, esp in higher levels it would be more elegant and more flexible if we would modify a rule rather than override is.
f.e. in level 9 when we add
:
to the if, we now write this:ifs: _IF _SPACE condition _COLON _EOL (_SPACE command) (_EOL _SPACE command)* _EOL _END_BLOCK
Something that would modify the if to insert _COLON would be a lot nicer! Not sure what that would look like but still cool.
Beta Was this translation helpful? Give feedback.
All reactions