Want to play with or learn a parser system including a grammar for Python? See spark_parser on pypy

rocky rocky at gnu.org
Fri Jun 10 21:00:22 EDT 2016

On Thursday, June 9, 2016 at 1:36:56 AM UTC-4, Lawrence D’Oliveiro wrote:
> On Wednesday, June 8, 2016 at 10:39:00 PM UTC+12, rocky wrote:
> > In addition to the example programs which give the classic arithmetic
> > expression evaluator, I now include the beginnings of a full Python 2.6
> > language.
> Does anybody bother with LR(k) parsers any more?

I don't understand. Python itself I think does. And By the way, SPARK is an Early-Algorithm parser [1], so it is a little more general than LL or LR parsers. 

[1] https://en.wikipedia.org/wiki/Earley_parser

More information about the Python-list mailing list