[antlr-interest] Writing Delphi Target for Antlr3

Terence Parr parrt at cs.usfca.edu
Sat May 26 11:51:18 PDT 2007


On May 26, 2007, at 12:37 AM, service wrote:

> Dear Friends
>
>       I am now writing Delphi Target for  Antlr 3 . now I encounter  
> a problem .Delphi unlike the other language (Java, C#, etc). it can  
> not declare one variable at function body.

At the rule level I do not provide a list of all nested blocks.  I  
could add this, but as others have suggested, I think the easiest  
answer is to try to get Delphi to declare things within the method.

Ter


More information about the antlr-interest mailing list