[antlr-interest] ANTLR3 Python target ready for beta

Clinton Roy clinton.roy at gmail.com
Thu Mar 15 16:56:42 PDT 2007


Hi Benjamin,

On 3/15/07, Benjamin Niemann <pink at odahoda.de> wrote:
> I'm just dropping a note to claim that the Python target for V3 is now good
> enough so you can play with it for more than 2 minutes without running into
> fatal bugs ;)

I've been hanging out for AST support, perhaps you could use my
tree.py/ast.stg from:
azure.humbug.org.au/~croy/antlr.tgz

Let me know if you'd prefer me to have a hack at it.

> Comments are welcome!

It's a dedicated person who targets all those versions of Python! I've
only been bothering with 2.5.

There's a trailing semi colon after the call to reportError in the
rule template.

I suggest you run pylint over antlr3.py, it picks up a lot of little
problems. I've put a report online as a bit of an incentive:
azure.humbug.org.au/~croy/antlr.html

It looks like the TODO needs a little bit of attention as well.

Let me know if there any particular areas you'd like me to tackle.

cheers,
-- 
Clinton Roy
www.acqao.org - ARC Centre of Excellence for Quantum-Atom Optics
www.humbug.org.au  - Brisbane Unix Group
azure.humbug.org.au/~croy/blog - Blog
www.flickr.com/photos/croy/ - Photos


More information about the antlr-interest mailing list