Hello, When looking at the resolutions of PEG/leftre with IS_NULLABLE, IS_LEFTREC, it occured to me that the same could be solved, perhaps in a more algebraic way, by using LL FIRST/FOLLOW analysis with the modification of allowing RHS symbols in the sets.
IS_NULLABLE(rule) == e in pFIRST(rule) IS_LEFTREC(rule). == rule inf pFIRST(rule) Something like that. Has anyone explored this approach. TIA, and Cheers, -- Juancarlo *Añez*
_______________________________________________ PEG mailing list PEG@lists.csail.mit.edu https://lists.csail.mit.edu/mailman/listinfo/peg