[antlr-interest] Python Runtime - version 3.2

Jeff Holman jbholman at gmail.com
Mon Jun 14 21:32:44 PDT 2010


Are there any major issues with using the the following?

1. http://www.antlr.org/download/antlr-3.1.2.tar.gz
2. http://www.antlr.org/download/Python/antlr_python_runtime-3.1.2.zip
3. a compatible version of antlrworks.  not sure which version is should
use.  can i still download old versions?



On Sat, Jun 12, 2010 at 9:42 PM, Jeff Holman <jbholman at gmail.com> wrote:

> 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