Related articles |
---|
Two pass compiler for a language similar to Java joanpujol@gmail.com (=?ISO-8859-1?Q?Joan_Jes=FAs_Pujol_Espinar?=) (2004-09-03) |
Re: Two pass compiler for a language similar to Java kamalp@acm.org (2004-09-07) |
Re: Two pass compiler for a language similar to Java jjan@cs.rug.nl (J.H.Jongejan) (2004-09-08) |
Re: Two pass compiler for a language similar to Java lhp+news@toft-hp.dk (Lasse =?ISO-8859-1?Q?Hiller=F8e?= Petersen) (2004-09-13) |
Re: Two pass compiler for a language similar to Java vidar@hokstad.name (2004-09-13) |
Re: Two pass compiler for a language similar to Java joanpujol@gmail.com (Joan Pujol) (2004-09-13) |
Re: Two pass compiler for a language similar to Java tzvetanmi@yahoo.com (2004-09-13) |
Re: Two pass compiler for a language similar to Java kers@hplb.hpl.hp.com (Chris Dollin) (2004-09-13) |
Re: Two pass compiler for a language similar to Java kamalp@acm.org (2004-09-21) |
From: | "J.H.Jongejan" <jjan@cs.rug.nl> |
Newsgroups: | comp.compilers |
Date: | 8 Sep 2004 12:06:30 -0400 |
Organization: | RuG |
References: | 04-09-032 04-09-051 |
Keywords: | practice |
Posted-Date: | 08 Sep 2004 12:06:30 EDT |
Kamal R. Prasad wrote:
> Joan Jesús Pujol Espinar <joanpujol@gmail.com> wrote
>
>
>>I'm doing a pseudocode language similar to Java (it is posible to use
>>things before are defined).
>>I know (or I think ;) ) that the best way to manage this is with two
>>pass using ASTs. And is the strategy that I'm using.
>
> A procedural language does require a 2-pass compiler.
Not necessarily. The first Pascal compiler (the one with P-codes,
which targeted the CDC-Cyber 6600) was a 1-pass compiler. Wirth
actually designed the language in such a way that 1-pass would be
possible.
With regards,
Jan Jongejan
Dept. Comp.Sci.,
Univ. of Groningen,
Netherlands.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.