[antlr-interest] antlr python-grammar

ak 12345alex at gmx.net
Wed Apr 19 05:30:58 PDT 2006


hi, again.

sorry, i have to update myself.

Am Mittwoch, den 19.04.2006, 14:01 +0200 schrieb ak:
> hi, loring.
> 
> thanks for your answer.
> 
> Am Dienstag, den 18.04.2006, 16:59 -0700 schrieb Loring Craymer:
> > I can do something about that.  However, I have to ask what you intend to
> > use it for--just for pretty printing (minimal tree structure requirements)
> > or for custom analysis (probably with specific structure requirements).  How
> > I annotate the parser grammar depends on the answer--there are multiple
> > possible tree structures.
> i agree that the tree structure depends on custom needs. my needs will
> evolve, so i can't tell exactly what the tree should look like.
> 
> to be honest, i'm still not sure whether i need a tree or not.
> 
> what i want to do is build up a structure of java-instances that
> represents entities of the parsed python-file(s). something like
> PythonModule, PythonClass, PythonFunction(bound or not). anything i
> can't handle yet(expressions, loops, etc.) should be available as a
> string which i can put somewhere.
the strings should of course be syntactically correct, which means i
definitly want to use your python.g ;)

mfg

alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20060419/4c84749c/attachment.bin


More information about the antlr-interest mailing list