[antlr-interest] Writing Delphi Target for Antlr3

service service at sharpplus.com
Sat May 26 07:56:54 PDT 2007


Yes  , Delphi is OOP pascal created by the borland corp.. As far as I know , the Ada was designed upon pascal.


>  -------Original Message-------
>  From: Luke A. Guest <laguest at archangeli.co.uk>
>  Subject: Re: [antlr-interest] Writing Delphi Target for Antlr3
>  Sent: 26 May '07 14:42
>  
>  On Sat, 2007-05-26 at 07:37 +0000, 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.
>  >
>  > for example:
>  >      In Java, you can declare int alt1 in function body
>  
>  In Ada you can do the following:
>  
>  declare
>  
>    Some_Var : Some_Type;
>  
>  begin
>  
>    <stmts>
>  
>  end;
>  
>  Surely, Delphi provides something similar to this block?
>  
>  Thanks,
>  Luke.
>  
>  
>  


More information about the antlr-interest mailing list