I have a question about how to match the following left-recursive rules.

R=Er
E=Ee/Eb/e

will R match 'ebr'
will R match 'eebr'
will R match 'eeebr'


R=Er
E=Ee/e/Eb

will R match 'ebr'
will R match 'eebr'
will R match 'eeebr'
_______________________________________________
PEG mailing list
[email protected]
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to