| 1 |
= ClosureConvert |
| 2 |
|
| 3 |
<<ClosureConvert#>> is a translation pass from the <<SXML#>> |
| 4 |
<<IntermediateLanguage#>> to the <<SSA#>> <<IntermediateLanguage#>>. |
| 5 |
|
| 6 |
== Description |
| 7 |
|
| 8 |
It converts an <<SXML#>> program into an <<SSA#>> program. |
| 9 |
|
| 10 |
<<Defunctionalization#>> is the technique used to eliminate |
| 11 |
<<Closure#>>s (see <<References#CejtinEtAl00,CejtinEtAl00>>). |
| 12 |
|
| 13 |
Uses <<Globalize#>> and <<LambdaFree#>> analyses. |
| 14 |
|
| 15 |
== Implementation |
| 16 |
|
| 17 |
* https://github.com/MLton/mlton/blob/master/mlton/closure-convert/closure-convert.sig[`closure-convert.sig`] |
| 18 |
* https://github.com/MLton/mlton/blob/master/mlton/closure-convert/closure-convert.fun[`closure-convert.fun`] |
| 19 |
|
| 20 |
== Details and Notes |
| 21 |
|
| 22 |
{empty} |