[antlr-interest] Python Runtime - version 3.2

Jeff Holman jbholman at gmail.com
Sat Jun 12 19:42:35 PDT 2010


When I unpack antlr-3.2.tar.gz, there is the following subdirectory
containing the word 'python':
antlr-3.2\tool\src\main\resources\org\antlr\codegen\templates\Python

When I unpack antlr-3.2.jar, there are the following subdirectories
containing the word 'python':
antlr\actions\python
org\antlr\codegen\templates\Python

Neither of these look like they contain what is contained in
antlr_python_runtime-3.1.2.zip when I download that.

On Sat, Jun 12, 2010 at 7:08 PM, Terence Parr <parrt at cs.usfca.edu> wrote:

> when you untar 3.2 main distribution, is there a python subdir?
> T
> On Jun 12, 2010, at 3:28 PM, Jeff Holman wrote:
>
> > I think I am still confused.  I am looking at this page for directions:
> >
> > http://www.antlr.org/wiki/display/ANTLR3/Python+runtime
> >
> > I have looked for a python setup.py file in the following downloads:
> > http://www.antlr.org/download/antlr-3.2.tar.gz
> > http://www.antlr.org/download/antlr-3.2.jar
> > http://www.antlr.org/download/antlr-runtime-3.2.jar
> >
> > and I cannot find one.
> >
> > Under http://www.antlr.org/download/Python, I don't see a run time for
> antlr
> > 3.2 under that directory.  I tried installing the latest version, but
> when I
> > used ANTLRworks to generate a parser and lexer python file, I got an
> error
> > message about incompatible versions (saying the python files were
> generated
> > using antlr version 3.2 but my python runtime version was 3.1).
> >
> > Maybe I'm just overlooking something obvious.  Sorry!
> >
> >
> > On Sat, Jun 12, 2010 at 12:33 PM, Terence Parr <parrt at cs.usfca.edu>
> wrote:
> >
> >> Yup. should be in the distribution under runtime dir
> >> Ter
> >>
> >> On Jun 11, 2010, at 8:46 PM, Jeff Holman wrote:
> >>
> >> Just bought both the ANTLR books ,and I'm trying to get started using a
> >>> lexer and parser generated by ANTLRWorks 1.4 for python.  Is there a
> >>> version
> >>> 3.2 Python runtime?
> >>>
> >>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> >>> Unsubscribe:
> >>> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> >>>
> >>
> >>
> >
> > List: http://www.antlr.org/mailman/listinfo/antlr-interest
> > Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>


More information about the antlr-interest mailing list