load("@tools_ocaml//rules:menhir.bzl", "menhir")
menhir
menhir(name, deps, outs, base, cmly, compile_errors, explain, flags, grammars, ns, opts, token, tokens_unused, tool)
Runs menhir.
ATTRIBUTES for rule menhir:
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
A unique name for this target. |
required |
|||
List of OCaml dependencies. |
optional |
[] |
||
Output filenames, .ml and .mli. |
List of labels |
required |
||
Equivalent to --base arg |
String |
optional |
"" |
|
Produce .cmly file |
Boolean |
optional |
False |
|
--compile-errors switch |
optional |
None |
||
Produce basename.conflicts file |
Boolean |
optional |
False |
|
Boolean flag options |
List of strings |
optional |
[] |
|
Menhir source files. |
optional |
[] |
||
- |
optional |
None |
||
Options of form --option val |
List of strings |
optional |
[] |
|
--external-token value. |
optional |
None |
||
--unused-tokens list |
List of strings |
optional |
[] |
|
Bazel label of a menhir executable. |
required |