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

R=Er
E=Ee/Eb/e

String 'ebr'
will R match 'eebr'


R=Er
E=Ee/e/Eb

String 'ebr'
will R match 'eebr'

-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo
_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to