[antlr-interest] ANTLR Python 2.3.3 grammar - indentation
Preethi Sundar
preethi.sundar at gmail.com
Thu Aug 18 12:24:33 PDT 2011
Hi all,
When the Python 2.3.3 grammar posted in antlr.org is built using ANTLR
plugin for eclipse, a few warnings are generated.
Two warnings state that there are no rules corresponding to INDENT and
DEDENT tokens. On closer examination, it is found that python's indentation
has not been implemented.
I have resolved this issue (and two other warnings) and posted a description
of my solution on
http://mobilesystemsengineering.appspot.com/staticdocs/AdvancedMobileSystemsEngineering/Solution3.pdf
.
Could someone please take a look and let me know if my reasoning is sound?
Thanks,
Preethi
More information about the antlr-interest
mailing list