Closed maryammm closed 10 years ago
The set of supported target languages is hard coded in ANTLRWorks 2. To support the Python target, the following changes will be required for the next release of ANTLRWorks 2.
getCommandArguments()
method to include the -Dlanguage={language}
option when necessary.Thank you so much Mr.Harwell, when will be next ANTLRWorks 2 released?! Can I hope in near future?
Fixed in 2fcec519b9eed29909da0cfb992e114bd25fbf0d
I'm using ANTLRWorks 2.1 for grammar creation and subsequent creation of the lexer and parser. I did that for Java target, but my preffered language is python. In this address you can find Python 3 runtime libraries for ANTLR 4 :https://github.com/antlr. I'm quite puzzled by this: how can I specify my target language in ANTLRWorks 2.1? I would be really appriciate if anyone can guid me.