[antlr-interest] Writing Delphi Target for Antlr3
Luke A. Guest
laguest at archangeli.co.uk
Sat May 26 07:42:29 PDT 2007
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