mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 00:07:36 +02:00
WIP
This commit is contained in:
parent
84ec637843
commit
b73644cab4
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ Free variables passed to a nested function must be captured in a closure so they
|
|||
|
||||
Cyclone uses flat closures - objects that contain a single function reference and a vector of free variables. This is a more efficient representation than an environment as only a single vector lookup is required to read any of the free variables.
|
||||
|
||||
Mutated variables must be added to a pair (called a "cell") by a separate compilation pass executed prior to closure conversion.
|
||||
Mutated variables are not directly supported by flat closures and must be added to a pair (called a "cell") by a separate compilation pass prior to closure conversion.
|
||||
|
||||
Cyclone's closure conversion is based on code from Marc Feeley's 90 minute Scheme->C compiler and Matt Might's Scheme->C compiler.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue