On Wed, 2021-03-03 at 20:47 +0100, Jouke Witteveen wrote:
> Another month, another reminder.
I pushed these changes yesterday; thanks for the reminders! :)
On Fri, Jan 29, 2021 at 8:37 AM Jouke Witteveen wrote:
> On Fri, Dec 25, 2020 at 7:00 PM Jouke Witteveen wrote:
> >
> > * NEWS: Use "local" instead of the incorrect "lexically-scoped".
> > * doc/make.texi: Refer to let/foreach variables as local variables.
> > ---
> > This is an erratum on the ad
On Fri, Dec 25, 2020 at 7:00 PM Jouke Witteveen wrote:
>
> * NEWS: Use "local" instead of the incorrect "lexically-scoped".
> * doc/make.texi: Refer to let/foreach variables as local variables.
> ---
> This is an erratum on the addition of $(let ...). During an early review
> of $(let ...), thutt
A very good point!
On Fri, Dec 25, 2020 at 7:58 PM Pete Dietl wrote:
> Now for Make, there are no semantics for telling whether or not it is
> lexically or dynamically scoped. This is because previously the only local
> variables were the function arguments. Since these arguments are always named
> the same thing
So if you imagine each function call as creating a new environment, an
environment being a dictionary of key value pairs that stores variables we
define locally AND a “parent pointer” to another environment, then we can
define lexical vs dynamic scoping as follows:
Lexical: the parent pointer in a
* NEWS: Use "local" instead of the incorrect "lexically-scoped".
* doc/make.texi: Refer to let/foreach variables as local variables.
---
This is an erratum on the addition of $(let ...). During an early review
of $(let ...), thutt cautioned that it did not implement "full semantic
scoping" [sic]. W