[antlr-interest] Delphi Target

Udo Weik WeikEngOff at aol.com
Wed Nov 9 13:36:49 PST 2011


Hello Borneq,

> Whats new in Delphi Target?
> I found http://www.antlr.org/depot/antlr3/release-3.1.3/runtime/Delphi/
> and Delphi.stg in
> http://www.antlr.org/depot/antlr3/release-3.2/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
> I test on file XMLLexer.g from
> http://www.antlr.org/wiki/display/ANTLR3/Parsing+XML
> I write changes:
> lexer grammar XMLLexer;
>
> options {
> 	language=Delphi;
> }
> I run antlr-3.4-complete.jar i are errors:
> Delphi.stg 118:6: required parameters (filterMode) must appear before
> optional parameters
> Delphi.stg 137:126: invalid character '}'
>
> Can't generate Delphi target?

I checked the Delphi-target some days ago, too. There is a lot to do
to get it working. Alone I don't have the time, but when you help me
we can get it working. I'm using the C-target since some weeks and
try to modify the templates for my needs, so I have "some" experiences.


Greetings
Udo







More information about the antlr-interest mailing list