Extend unification from tokens to rules. It's experimental. The syntax is as follow:     rule()[i]  with i >= 0 (reminder, token[j] for tokens unification). Example:     %skip  space  \s     %token alpha  a|b     %token plus   \+     %token minus  \-
Extend unification from tokens to rules. It's experimental.
The syntax is as follow:
    rule()[i]  with i >= 0
(reminder, token[j] for tokens unification).
Example:
    %skip  space  \s
    %token alpha  a|b
    %token plus   \+
    %token minus  \-

    #root:
        letter()[0] ( ::minus:: letter()[0] )*

    #letter
        <alpha> ::plus:: <alpha>
Hence, a + b - a + b matches and a + b - a + a is rejected, because letter()
must be the same in the #root rule. Same means the same tokens sequence with
identical values (not types).

Metalaka/Central,vcgato29/Central,Grummfy/Central,vcgato29/Central,Grummfy/Central,Metalaka/Central