[antlr-interest] Delphi Target

Borneq a.moderacja at gmail.com
Wed Nov 9 10:49:09 PST 2011


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?


More information about the antlr-interest mailing list