Mixin: Nest13

Seven~ Nest13

Example 7/13: add actions and infrastructure to compile nested functions.

Source:

Classes

Fun
Var

Members


funct

Replace: manage stack of functions

Source:

functs

List of inner to outer nested frames, null at end.

Source:

Methods


_alloc()

Returns new Var at next local/global address.

Source:

_find()

Replace: searches blocks, functions, and global.

Source:

block()

block: begin body 'end'; [inherit].

Source:

else()

else: Else body; [inherit]

Source:

head: 'function' Name; returns function symbol.

Source:

loop()

loop: While cmp Do body 'od'; [inherit]

Source: