-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This grammar fails to parse "aaaa":
(gg-grammar (start n := x eof -> n) (x n := x a -> (+ 1 n) | -> 0) (a ?a))
The intent is similar to this grammar:
(gg-grammar (start n := y eof -> n) (y n := x -> n | -> 0) (x n := x a -> (+ 1 n) | a -> 1) (a ?a))
It seems nullable left-recursive rules fail, perhaps because they're not "making progress."
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels