4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
19 <body class="article">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
30 <div class="sectionbody">
31 <div class="paragraph"><p><a href="Machine">Machine</a> is an <a href="IntermediateLanguage">IntermediateLanguage</a>, translated from <a href="RSSA">RSSA</a>
32 by <a href="ToMachine">ToMachine</a> and used as input by the <a href="Codegen">Codegen</a>.</p></div>
36 <h2 id="_description">Description</h2>
37 <div class="sectionbody">
38 <div class="paragraph"><p><a href="Machine">Machine</a> is an <a href="Untyped">Untyped</a> <a href="IntermediateLanguage">IntermediateLanguage</a>, corresponding
39 to a abstract register machine.</p></div>
43 <h2 id="_implementation">Implementation</h2>
44 <div class="sectionbody">
45 <div class="ulist"><ul>
48 <a href="https://github.com/MLton/mlton/blob/master/mlton/backend/machine.sig"><span class="monospaced">machine.sig</span></a>
53 <a href="https://github.com/MLton/mlton/blob/master/mlton/backend/machine.fun"><span class="monospaced">machine.fun</span></a>
60 <h2 id="_type_checking">Type Checking</h2>
61 <div class="sectionbody">
62 <div class="paragraph"><p>The <a href="Machine">Machine</a> <a href="IntermediateLanguage">IntermediateLanguage</a> has a primitive type checker
63 (<a href="https://github.com/MLton/mlton/blob/master/mlton/backend/machine.sig"><span class="monospaced">machine.sig</span></a>,
64 <a href="https://github.com/MLton/mlton/blob/master/mlton/backend/machine.fun"><span class="monospaced">machine.fun</span></a>), which only checks
65 some liveness properties.</p></div>
69 <h2 id="_details_and_notes">Details and Notes</h2>
70 <div class="sectionbody">
71 <div class="paragraph"><p>The runtime structure sets some constants according to the
72 configuration files on the target architecture and OS.</p></div>
76 <div id="footnotes"><hr></div>
78 <div id="footer-text">
80 <div id="footer-badges">