Re: Questions about anonymous functions and classes/functions declarations

Joachim Durchholz <joachim.durchholz@web.de>
8 Oct 2003 22:25:16 -0400

          From comp.compilers

Related articles
Questions about anonymous functions and classes/functions declarations mrfaro@libero.it (Gabriele Farina) (2003-10-04)
Re: Questions about anonymous functions and classes/functions declarat derkgwen@HotPOP.com (Derk Gwen) (2003-10-06)
Re: Questions about anonymous functions and classes/functions declarat lsantil@calstatela.edu (Louis Paul Santillan) (2003-10-06)
Re: Questions about anonymous functions and classes/functions declarat haberg@matematik.su.se (2003-10-06)
Re: Questions about anonymous functions and classes/functions declarat joachim.durchholz@web.de (Joachim Durchholz) (2003-10-06)
Re: Questions about anonymous functions and classes/functions declarat geoff@wozniak.ca (Geoff Wozniak) (2003-10-08)
Re: Questions about anonymous functions and classes/functions declarat joachim.durchholz@web.de (Joachim Durchholz) (2003-10-08)
Re: Questions about anonymous functions and classes/functions declarat witness@t-online.de (Uli Kusterer) (2003-10-13)
Re: Questions about anonymous functions and classes/functions declarat marcov@stack.nl (Marco van de Voort) (2003-10-13)
| List of all articles for this month |
From: Joachim Durchholz <joachim.durchholz@web.de>
Newsgroups: comp.compilers
Date: 8 Oct 2003 22:25:16 -0400
Organization: Oberberg Online Infosysteme
References: 03-10-004 03-10-023
Keywords: design
Posted-Date: 08 Oct 2003 22:25:16 EDT

Derk Gwen wrote:


> (An important gotcha is do you permit nonlocal stack variables to be
> referenced within the function? If so, you'll need some way to
> reconstruct the environment when called; if the function value
> cannot be exported outside the original scope, you can use displays
> or stack links that were developed for Algol 60 and Pascal. If the
> function can be exported outside the original scope, you'll need
> some form of continuations.)


Note that allowing such references is a huge leap ahead in the
usefulness of anonymous functions.


Regards,
Jo


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.