moonpool/dev/ocaml/Optcompile/index.html

15 lines
No EOL
3.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Optcompile (ocaml.Optcompile)</title><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">ocaml</a> &#x00BB; Optcompile</nav><header class="odoc-preamble"><h1>Module <code><span>Optcompile</span></code></h1><p>Native compilation for .ml and .mli files.</p></header><nav class="odoc-toc"><ul><li><a href="#internal-functions">Internal functions</a></li></ul></nav><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-interface"><a href="#val-interface" class="anchor"></a><code><span><span class="keyword">val</span> interface : <span>source_file:string <span class="arrow">&#45;&gt;</span></span> <span>output_prefix:string <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-implementation"><a href="#val-implementation" class="anchor"></a><code><span><span class="keyword">val</span> implementation :
<span>backend:<span>(<span class="keyword">module</span> <a href="../Backend_intf/module-type-S/index.html">Backend_intf.S</a>)</span> <span class="arrow">&#45;&gt;</span></span>
<span>start_from:<a href="../Clflags/Compiler_pass/index.html#type-t">Clflags.Compiler_pass.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>source_file:string <span class="arrow">&#45;&gt;</span></span>
<span>output_prefix:string <span class="arrow">&#45;&gt;</span></span>
unit</span></code></div></div><h3 id="internal-functions"><a href="#internal-functions" class="anchor"></a>Internal functions</h3><p>*</p><div class="odoc-spec"><div class="spec value anchored" id="val-clambda"><a href="#val-clambda" class="anchor"></a><code><span><span class="keyword">val</span> clambda :
<span><a href="../Compile_common/index.html#type-info">Compile_common.info</a> <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span class="keyword">module</span> <a href="../Backend_intf/module-type-S/index.html">Backend_intf.S</a>)</span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../Typedtree/index.html#type-implementation">Typedtree.implementation</a> <span class="arrow">&#45;&gt;</span></span>
unit</span></code></div><div class="spec-doc"><p><code>clambda info typed</code> applies the regular compilation pipeline to the given typechecked implementation and outputs the resulting files.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-flambda"><a href="#val-flambda" class="anchor"></a><code><span><span class="keyword">val</span> flambda :
<span><a href="../Compile_common/index.html#type-info">Compile_common.info</a> <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span class="keyword">module</span> <a href="../Backend_intf/module-type-S/index.html">Backend_intf.S</a>)</span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../Typedtree/index.html#type-implementation">Typedtree.implementation</a> <span class="arrow">&#45;&gt;</span></span>
unit</span></code></div><div class="spec-doc"><p><code>flambda info backend typed</code> applies the Flambda compilation pipeline to the given typechecked implementation and outputs the resulting files.</p></div></div></div></body></html>