On Thu, Feb 26, 2009 at 2:55 PM, Leonardo Santagada <[email protected]> wrote: > The thing that would be great is if pypy and jython would use the same > parser using antlr so the work to support python 3.0 (and 2.7, 2.8, etc) > could be partially shared :) This would indeed be very cool. Also, ANTLR 3.x supports a really interesting form of grammar inheritance which would help us share a base grammar (I remember it has a sort of diff-merge form of inheritance, my google skills are failing me, I'll find a reference today sometime I'm sure). At the JVM Language summit last year, I met ANTLR expert Jim Idle, and he expressed an interest in seeing if the Jython grammar could be used as a grammar for CPython. I've copied Jim Idle on this email.
As a side note, it appears that Guido van Rossum has had some positive experiences with ANTLR recently: http://www.antlr.org/pipermail/antlr-interest/2009-February/032783.html -Frank _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
