[antlr-interest] can somebody try the jython code generator?

Kaleb Pederson kibab at icehouse.net
Sun Feb 29 15:52:05 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 29 February 2004 12:41 pm, Terence Parr wrote:
> Amol (whose python code generator I posted a few months ago) claims to
> have a python generator that uses jython to handle the libraries, which
> would take awhile to translate.  Can anybody try it out?  I'm guessing
> you'd need to hook in the code generator by putting it in your path and
> then using option language="Python" or whatever the prefix is on the
> PythonCodeGenerator.java.  Then I guess you run jython on it with
> antlr.jar in your path.  Seems like that would work.
>
> I don't know python yet more than a few lines and so getting it to work
> would be quite an effort for me.  Anybody wanna help?

I should be able to give it a try this week.  I have a grammar done for a 
python project that I was never able to use (ended up writing one by hand 
that I would like to replace) as the other parser generators for Python 
didn't work for my needs.

- --Kaleb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAQnsseAVt8Tl/2kURAosUAJ9YD9Zo46KH79TtoWLtyPp/hiKyswCfRZh0
LvJvpYJ17YJH79K1lyS9K0A=
=N/Vm
-----END PGP SIGNATURE-----


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list