🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5277

Re: Var scoping in Wirth-type languages

#5277
From: Robert Firth
Date: Mon, 14 Mar 1988 14:58
17 lines
1029 bytes
In article <170500016@uiucdcsb> robison@uiucdcsb.cs.uiuc.edu writes:
>
>For languages without "upward funargs" (e.g. Pascal), a global display
>is sufficient, and furthermore requires only one extra push/pop per
>procedure call. 

Sigh!  The erroneous display implementations seem to be
repeatedly rediscovered.  One more time: this fails in
a language with any one of

	parametric procedures
	procedure variables
	parametric labels
	label variables
	jumps out of procedures

It therefore fails in ISO Pascal, under the fifth case.
Technical Details
Message-ID: <4555@aw.sei.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!bbn!rochester!PT.CS.CMU.EDU!sei!sei.cmu.edu!firth
References: <3949@ihlpf.ATT.COM> <170500016@uiucdcsb>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!bbn!rochester!PT.CS.CMU.EDU!sei!sei.cmu.edu!firth
From: firth@sei.cmu.edu (Robert Firth)
Newsgroups: comp.lang.misc
Subject: Re: Var scoping in Wirth-type languages
Message-ID: <4555@aw.sei.cmu.edu>
Date: 14 Mar 88 14:58:49 GMT
References: <3949@ihlpf.ATT.COM> <170500016@uiucdcsb>
Sender: netnews@sei.cmu.edu
Reply-To: firth@bd.sei.cmu.edu.UUCP (Robert Firth)
Organization: Carnegie-Mellon University, SEI, Pgh, Pa
Lines: 17