From: Bruno H. <br...@cl...> - 2017-06-06 20:38:18
|
Hi Jörg, > I remember the term "display closure" from Scheme compilers / compilation techniques. > > The Development of Chez Scheme > R. Kent Dybvig > https://www.cs.indiana.edu/~dyb/pubs/hocs.pdf > > "While researching > how other systems had coped with similar problems, I ran across > a book on the implementation of Algol 60 by Brian Randell and > Lawford Russell [46], which described the use of displays for > speeding access to the free variables of a local function. A display is > a bank of memory locations or registers, each pointing to one of the > frames whose variables make up the current lexical environment. > Displays weren't directly usable for my purposes, but I was able > to make several adjustments and from the display model derived > the notion of a display closure, a heap-allocated vector-like object > holding a code pointer and the values of the free variables [16]." Thanks for the pointer. This "display closure" is a special case of closure (since it contains a code pointer). And the "display" (what a term!) is a vector-like arrangement, whereas in clisp we have a tree/forest-like arrangement. => I won't use these terms. Bruno |