Re: Add nested-function support in a language the based on a stack-machine

Shoefoot <>
Wed, 14 Feb 2018 12:27:16 -0800 (PST)

          From comp.compilers

Related articles
| List of all articles for this month |

From: Shoefoot <>
Newsgroups: comp.compilers
Date: Wed, 14 Feb 2018 12:27:16 -0800 (PST)
Organization: Compilers Central
References: 18-02-009
Injection-Info:; posting-host=""; logging-data="86680"; mail-complaints-to=""
Keywords: code
Posted-Date: 14 Feb 2018 15:32:04 EST

On Monday, February 12, 2018 at 3:51:19 PM UTC-5, wrote:
> one, using an activation-link (also called static-link), and display.

I'm a big fan of Display stacks. They are easy to implement and fast at runtime.
However they do break down with setjmp/longjmp. The Display stack becomes
part of the state and must be pushed with the setjmp. There is also some
considerations for the debugger. The debugger has to walk the stack rather than
use the Display.

Post a followup to this message

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