Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!SUSHI.STANFORD.EDU!KURKURE From: KURKURE@SUSHI.STANFORD.EDU (Uday Kurkure) Newsgroups: net.lang.mod2 Subject: Re: Single Pass Modula-2 Compiler Message-ID: <12243102365.25.KURKURE@Sushi.Stanford.EDU> Date: Tue, 30-Sep-86 13:29:55 EDT Article-I.D.: Sushi.12243102365.25.KURKURE Posted: Tue Sep 30 13:29:55 1986 Date-Received: Thu, 2-Oct-86 20:56:52 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 24 Having merged Logitech's Modula-2 compiler's pass1 and pass2 into a single pass, I think that if you have identifiers used in statments before declaring them, it is not possible to have a one pass compiler because you can not do the type checking in a reasonable way. MacMeth's ( Single pass Modula-2 Compiler from ETH ) user manual explicitly states it as one of the restrictions on page 23 that no forward references are permitted except in definition of pointer types and in forward procedure declarations. ..Uday { kurkure@su-sushi.arpa !decwrl!logitech!uday } Disclaimer: These are not my employer's views but my own personal views. -------