CamlinternalMenhirLib.TableInterpreter.MakeEngineTable(3) OCaml library CamlinternalMenhirLib.TableInterpreter.MakeEngineTable(3)

# [NAME](#NAME)

CamlinternalMenhirLib.TableInterpreter.MakeEngineTable - no description

# [Module](#Module)

Module CamlinternalMenhirLib.TableInterpreter.MakeEngineTable

# [Documentation](#Documentation)

Module **MakeEngineTable**  
: **functor (T : TableFormat.TABLES) -&gt; sig end**

**Parameters:**

"T"

**CamlinternalMenhirLib.TableFormat.TABLES**

*type state*

*val number* : **state -&gt; int**

*type token*

*type terminal*

*type nonterminal*

*type semantic\_value*

*val token2terminal* : **token -&gt;** **terminal**

*val token2value* : **token -&gt;** **semantic\_value**

*val error\_terminal* : **terminal**

*val error\_value* : **semantic\_value**

*val foreach\_terminal* : **(terminal -&gt; 'a -&gt; 'a) -&gt; 'a -&gt; 'a**

*type production*

*val production\_index* : **production -&gt; int**

*val find\_production* : **int -&gt; production**

*val default\_reduction* : **state -&gt;** **('env -&gt; production -&gt; 'answer) -&gt;** **('env -&gt; 'answer) -&gt; 'env -&gt; 'answer**

*val action* : **state -&gt;** **terminal -&gt;** **semantic\_value -&gt;** **('env -&gt;** **bool -&gt;** **terminal -&gt;** **semantic\_value -&gt;** **state -&gt; 'answer) -&gt;** **('env -&gt; production -&gt; 'answer) -&gt;** **('env -&gt; 'answer) -&gt; 'env -&gt; 'answer**

*val goto\_nt* : **state -&gt;** **nonterminal -&gt;** **state**

*val goto\_prod* : **state -&gt;** **production -&gt;** **state**

*val maybe\_goto\_nt* : **state -&gt;** **nonterminal -&gt;** **state option**

*val is\_start* : **production -&gt; bool**

*exception Error*

*type semantic\_action* = **(state,** **semantic\_value,** **token)** **CamlinternalMenhirLib.EngineTypes.env -&gt;** **(state,** **semantic\_value)** **CamlinternalMenhirLib.EngineTypes.stack**

*val semantic\_action* : **production -&gt;** **semantic\_action**

*val may\_reduce* : **state -&gt;** **production -&gt; bool**

*val log* : **bool**

*module Log :* **sig end**

2026-10-27 OCamldoc

---

Document: CamlinternalMenhirLib.TableInterpreter.MakeEngineTable(3o) from ocaml-4 4.14.4-r4 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
