You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This grammar is infinitely ambiguous on this input, so the program should (theoretically) output this infinite output:
[Γ := rules "X"
X := lexemes "A"
A "a" (1, 1)
, Γ := rules "X"
X := rules "X"
X := lexemes "A"
A "a" (1, 1)
, ...
But instead the program prints one parse tree only:
[Γ := rules "X"
X := lexemes "A"
A "a" (1, 1)
]
I think this is a bug.
Of course, in practice this is impossible to return infinite vector, so the library should somehow report error. But the library simply returns one parse tree instead. This probably means that there is some bug in the library. So I lose trust in this library
The text was updated successfully, but these errors were encountered:
Consider this code:
I use santiago 1.3.1 .
This grammar is infinitely ambiguous on this input, so the program should (theoretically) output this infinite output:
But instead the program prints one parse tree only:
I think this is a bug.
Of course, in practice this is impossible to return infinite vector, so the library should somehow report error. But the library simply returns one parse tree instead. This probably means that there is some bug in the library. So I lose trust in this library
The text was updated successfully, but these errors were encountered: