Closed ykafia closed 2 years ago
I think i solved it :
mul_expr.Add(
parenthesis_expr.WithName("NoMult")
.Or(
// This one should be parenthesis_expr, or else it creates an infinite recursion
**mul_expr**.Then("*").Then(mul_expr).WithName("Mult")
)
);
Hi,
have I an error where the Inner parser of the Grammar i'm creating is transformed to an EmptyParser by this function during the Match.
Here's a sample of the grammar I wrote
I don't yet understand the source but would be very happy to have any direction to solve the issue/contribute to this project