Sujet : Re: REPL in Lisp
De : me (at) *nospam* yahoo.com (Athel Cornish-Bowden)
Groupes : sci.langDate : 13. Jul 2024, 10:44:55
Autres entêtes
Message-ID : <lfet48F3pg6U1@mid.individual.net>
References : 1 2 3 4
User-Agent : Unison/2.2
On 2024-07-13 07:24:27 +0000, Aidan Kehoe said:
Ar an dara lá déag de mí Iúil, scríobh Kaz Kylheku:
> On 2024-07-11, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> > On Wed, 10 Jul 2024 19:11:17 -0700, HenHanna wrote:
> >
> >> the acronym (?) REPL must be new in Lisp (and Scheme)
> >>
> >> i'm sure i never saw it (used or mentioned) 25 years ago.
> >
> > There are many new terms coined for old concepts. Like “capture” for
> > “lexical binding”, or “dependency injection” for “callback”.
>
> Lexical binding does not imply closure/capture.
I’ve never seen “capture” used as a general term for closures or for lexical
scope in this way; are we sure it’s what was meant?
As you (and António) have a genuine interest in language, can you explain to me what this thread is doing in sci.lang?
Back in 1968, when many universities wanted to drop the German requirement for studying chemistry, on the grounds that by then virtually all publications on chemistry were in English (not necessarily a good thing, but that's how it was, and is). Rather than openly admitting what they were doing, they changed the German requirement to a "language requirement", and pretended that Fortran was a language. I think everyone realized that that was just a trick to avoid saying what the real motivation was.
> C has lexical scoping without capture: the bindings are destroyed
> when their associated scope terminates.
-- Athel -- French and British, living in Marseilles for 37 years; mainly in England until 1987.