🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.mod2
Article #571

Re: Single Pass Modula-2 Compiler

#571
From: Randy Bush
Date: Thu, 16 Oct 1986 23:20
17 lines
1127 bytes
And your mother wears combat boots!

Certainly I agree that forward reference is needed to resolve pointer
declarations.  And I agree that PIM-2.[1..3] would allow forward
reference to procedure declarations, although discussion here has not
revealed a method for one-pass compilation of such - forward declaration
being the only technique discussed so far.

What I refer to is that PIM-2[1..3] would seem to allow

  PROCEDURE A ();
  BEGIN
    x := 42
    END A;
  VAR x : CARDINAL;

randy
Technical Details
Message-ID: <21@oresoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!think!nike!sri-spam!sri-unix!hplabs!tektronix!oresoft!randy
References: <8610142109.AA23717@vulcan.DEC.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!think!nike!sri-spam!sri-unix!hplabs!tektronix!oresoft!randy
From: randy@oresoft.UUCP (Randy Bush)
Newsgroups: net.lang.mod2
Subject: Re: Single Pass Modula-2 Compiler
Message-ID: <21@oresoft.UUCP>
Date: Thu, 16-Oct-86 19:20:42 EDT
Article-I.D.: oresoft.21
Posted: Thu Oct 16 19:20:42 1986
Date-Received: Fri, 17-Oct-86 05:59:14 EDT
References: <8610142109.AA23717@vulcan.DEC.COM>
Reply-To: randy@oresoft.UUCP (Randy Bush)
Organization: Oregon Software, Portland OR
Lines: 17
Keywords: One pass, Internal Modules, Mothers