ANTLR/Python version compatibility

47 views
Skip to first unread message

M

unread,
Jul 14, 2013, 9:54:00 PM7/14/13
to antlr-di...@googlegroups.com
Hi

How does one confirm particular versions of python and ANTLR play nicely? Is there an official page that shows the test results against various combinations of versions? Is there a standard test tun run?

I ask because I'm having trouble with the SimpleCalc.g tutorial from the ANTLR website (http://www.antlr.org/wiki/display/ANTLR3/Five+minute+introduction+to+ANTLR+3) using ANTLR 3.5/Python 2.7.4 (Win32 build). I saved down the example grammar and whilst ANTLR generates code that runs, the Lexer isn't producing tokens. I can patch it so it does work, but I cannot understand why it generates the code it does. Before decided next steps I wanted to confirm that it was expected to work, any pointers on doing this would be appreciated.

Regards
Mathew

Benjamin S Wolf

unread,
Jul 19, 2013, 7:16:54 PM7/19/13
to antlr-di...@googlegroups.com
Can you elaborate on what you're seeing/what you need to patch?

I last used Python 2.7 with ANTLR 3.4 (linux) and it was working, but I'm pretty sure ANTLR 3.5 didn't have any Python 2 changes. I'd still expect it to work...



--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages