🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.logo
Article #198

Re: Dynamic scope (was Re: Future of Logo)

#198
From: Dorai Sitaram
Date: Mon, 24 Aug 1992 03:20
24 lines
1653 bytes
In article <15rdkuINNb3f@agate.berkeley.edu> bh@anarres.CS.Berkeley.EDU (Brian Harvey) writes:
>But I wasn't thinking of the case of name conflicts.  Instead, I was thinking
>about the situation in which all variables have distinct names.  In that case,
>as I suggested, the variables available to procedure B under lexical scope
>are a subset of the ones available to it under dynamic scope.  Under lexical
>scope it has the free variables and its own variables; under dynamic scope it
>also has those of procedure A.
>
>This situation is in contrast with what happens in Scheme, where lexical
>scope sometimes gives you access to extra variables, namely, when you use
>a procedure that was defined inside another one, like this:
>
>But Logo doesn't have lambda, and so lexical scope merely restricts the
>available sources of variables.  (Same in C and Pascal.)
[deleted]

This may be a naive question, but here it is for what it's worth: Are
there variants of Logo that use lexical scope?

--d
-- 

dorai@titan.rice.edu   !    It may be that the gulfs will wash us down;
dorai@owlnet.rice.edu  !      it may be we shall touch the Happy Isles.
Technical Details
Message-ID: <BtGxA6.FvK@rice.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!bcm!rice!cs.rice.edu!dorai
References: <1992Aug5.204731.22492@jarvis.csri.toronto.edu> <1992Aug6.013515.1220@beaver.cs.washington.edu> <15rdkuINNb3f@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!wupost!bcm!rice!cs.rice.edu!dorai
From: dorai@cs.rice.edu (Dorai Sitaram)
Newsgroups: comp.lang.logo
Subject: Re: Dynamic scope (was Re: Future of Logo)
Message-ID: <BtGxA6.FvK@rice.edu>
Date: 24 Aug 1992 03:20:30 GMT
References: <1992Aug5.204731.22492@jarvis.csri.toronto.edu> <1992Aug6.013515.1220@beaver.cs.washington.edu> <15rdkuINNb3f@agate.berkeley.edu>
Sender: news@rice.edu (News)
Organization: Rice University, Houston
Lines: 24