Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / doc / guide / localhost / ClosureConvert
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>ClosureConvert</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
9
10
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
13 /*<![CDATA[*/
14 asciidoc.install();
15 /*]]>*/
16 </script>
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
18 </head>
19 <body class="article">
20 <div id="banner">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
23 </div>
24 </div>
25 <div id="header">
26 <h1>ClosureConvert</h1>
27 </div>
28 <div id="content">
29 <div id="preamble">
30 <div class="sectionbody">
31 <div class="paragraph"><p><a href="ClosureConvert">ClosureConvert</a> is a translation pass from the <a href="SXML">SXML</a>
32 <a href="IntermediateLanguage">IntermediateLanguage</a> to the <a href="SSA">SSA</a> <a href="IntermediateLanguage">IntermediateLanguage</a>.</p></div>
33 </div>
34 </div>
35 <div class="sect1">
36 <h2 id="_description">Description</h2>
37 <div class="sectionbody">
38 <div class="paragraph"><p>It converts an <a href="SXML">SXML</a> program into an <a href="SSA">SSA</a> program.</p></div>
39 <div class="paragraph"><p><a href="Defunctionalization">Defunctionalization</a> is the technique used to eliminate
40 <a href="Closure">Closure</a>s (see <a href="References#CejtinEtAl00">CejtinEtAl00</a>).</p></div>
41 <div class="paragraph"><p>Uses <a href="Globalize">Globalize</a> and <a href="LambdaFree">LambdaFree</a> analyses.</p></div>
42 </div>
43 </div>
44 <div class="sect1">
45 <h2 id="_implementation">Implementation</h2>
46 <div class="sectionbody">
47 <div class="ulist"><ul>
48 <li>
49 <p>
50 <a href="https://github.com/MLton/mlton/blob/master/mlton/closure-convert/closure-convert.sig"><span class="monospaced">closure-convert.sig</span></a>
51 </p>
52 </li>
53 <li>
54 <p>
55 <a href="https://github.com/MLton/mlton/blob/master/mlton/closure-convert/closure-convert.fun"><span class="monospaced">closure-convert.fun</span></a>
56 </p>
57 </li>
58 </ul></div>
59 </div>
60 </div>
61 <div class="sect1">
62 <h2 id="_details_and_notes">Details and Notes</h2>
63 <div class="sectionbody">
64 <div class="paragraph"><p></p></div>
65 </div>
66 </div>
67 </div>
68 <div id="footnotes"><hr></div>
69 <div id="footer">
70 <div id="footer-text">
71 </div>
72 <div id="footer-badges">
73 </div>
74 </div>
75 </body>
76 </html>