<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="AsciiDoc 8.6.10">
<title>MatchCompilation</title>
<link rel="stylesheet" href="./asciidoc.css" type="text/css">
<link rel="stylesheet" href="./pygments.css" type="text/css">


<script type="text/javascript" src="./asciidoc.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
asciidoc.install();
/*]]>*/
</script>
<link rel="stylesheet" href="./mlton.css" type="text/css">
</head>
<body class="article">
<div id="banner">
<div id="banner-home">
<a href="./Home">MLton 20201002</a>
</div>
</div>
<div id="header">
<h1>MatchCompilation</h1>
</div>
<div id="content">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph"><p>Match compilation is the process of translating an SML match into a
nested tree (or dag) of simple case expressions and tests.</p></div>
<div class="paragraph"><p>MLton&#8217;s match compiler is described <a href="MatchCompile">here</a>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_match_compilation_in_other_compilers">Match compilation in other compilers</h2>
<div class="sectionbody">
<div class="ulist"><ul>
<li>
<p>
<a href="References#BaudinetMacQueen85">BaudinetMacQueen85</a>
</p>
</li>
<li>
<p>
<a href="References#Leroy90">Leroy90</a>, pages 60-69.
</p>
</li>
<li>
<p>
<a href="References#Sestoft96">Sestoft96</a>
</p>
</li>
<li>
<p>
<a href="References#ScottRamsey00">ScottRamsey00</a>
</p>
</li>
</ul></div>
</div>
</div>
</div>
<div id="footnotes"><hr></div>
<div id="footer">
<div id="footer-text">
</div>
<div id="footer-badges">
</div>
</div>
</body>
</html>
