Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / localhost / CCodegen
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>CCodegen</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>CCodegen</h1>
27 </div>
28 <div id="content">
29 <div id="preamble">
30 <div class="sectionbody">
31 <div class="paragraph"><p>The <a href="CCodegen">CCodegen</a> is a <a href="Codegen">code generator</a> that translates the
32 <a href="Machine">Machine</a> <a href="IntermediateLanguage">IntermediateLanguage</a> to C, which is further optimized
33 and compiled to native object code by <span class="monospaced">gcc</span> (or another C compiler).</p></div>
34 </div>
35 </div>
36 <div class="sect1">
37 <h2 id="_implementation">Implementation</h2>
38 <div class="sectionbody">
39 <div class="ulist"><ul>
40 <li>
41 <p>
42 <a href="https://github.com/MLton/mlton/blob/master/mlton/codegen/c-codegen/c-codegen.sig"><span class="monospaced">c-codegen.sig</span></a>
43 </p>
44 </li>
45 <li>
46 <p>
47 <a href="https://github.com/MLton/mlton/blob/master/mlton/codegen/c-codegen/c-codegen.fun"><span class="monospaced">c-codegen.fun</span></a>
48 </p>
49 </li>
50 </ul></div>
51 </div>
52 </div>
53 <div class="sect1">
54 <h2 id="_details_and_notes">Details and Notes</h2>
55 <div class="sectionbody">
56 <div class="paragraph"><p>The <a href="CCodegen">CCodegen</a> is the original <a href="Codegen">code generator</a> for MLton.</p></div>
57 </div>
58 </div>
59 </div>
60 <div id="footnotes"><hr></div>
61 <div id="footer">
62 <div id="footer-text">
63 </div>
64 <div id="footer-badges">
65 </div>
66 </div>
67 </body>
68 </html>