<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Interpreter (baguette_sharp.Baguette_sharp.Interpreter)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.1.0"/><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">baguette_sharp</a> &#x00BB; <a href="../index.html">Baguette_sharp</a> &#x00BB; Interpreter</nav><header class="odoc-preamble"><h1>Module <code><span>Baguette_sharp.Interpreter</span></code></h1><p>The Interpreter Module of B#</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value" id="val-labels" class="anchored"><a href="#val-labels" class="anchor"></a><code><span><span class="keyword">val</span> labels : <span><span>( string, <span><span><a href="../Parser/index.html#type-parameters">Parser.parameters</a> <a href="../Parser/index.html#type-ast">Parser.ast</a></span> list</span> )</span> <span class="xref-unresolved">Stdlib</span>.Hashtbl.t</span></span></code></div><div class="spec-doc"><p>The Hashtbl storing the labels AST</p></div></div><div class="odoc-spec"><div class="spec value" id="val-creating_stack_trace" class="anchored"><a href="#val-creating_stack_trace" class="anchor"></a><code><span><span class="keyword">val</span> creating_stack_trace : <span>int <span class="arrow">&#45;&gt;</span></span> <span>string <span class="arrow">&#45;&gt;</span></span> <span><span>&lt; to_string : string.. &gt;</span> <span class="arrow">&#45;&gt;</span></span> string</span></code></div><div class="spec-doc"><p>A function to generate a stack trace from an error object</p></div></div><div class="odoc-spec"><div class="spec value" id="val-exec_node" class="anchored"><a href="#val-exec_node" class="anchor"></a><code><span><span class="keyword">val</span> exec_node : <span>?line:int <span class="arrow">&#45;&gt;</span></span> <span><span><a href="../Parser/index.html#type-parameters">Parser.parameters</a> <a href="../Parser/index.html#type-ast">Parser.ast</a></span> <span class="arrow">&#45;&gt;</span></span> <a href="../Parser/index.html#type-parameters">Parser.parameters</a></span></code></div><div class="spec-doc"><p>Interpretation of a single Node</p></div></div><div class="odoc-spec"><div class="spec value" id="val-runtime" class="anchored"><a href="#val-runtime" class="anchor"></a><code><span><span class="keyword">val</span> runtime : 
  <span>?repl:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span><span><a href="../Parser/index.html#type-parameters">Parser.parameters</a> <a href="../Parser/index.html#type-ast">Parser.ast</a></span> list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span>( string, <a href="../Parser/index.html#type-parameters">Parser.parameters</a> )</span> <span class="xref-unresolved">Stdlib</span>.Hashtbl.t</span></span></code></div><div class="spec-doc"><p>Runtime of the program runs the list of Node and update the RAM. It also returns the RAM</p></div></div></div></body></html>