ocamlyacc --------- ``(ocamlyacc )`` is essentially a shorthand for: .. code:: dune (rule (targets .ml .mli) (deps .mly) (action (chdir %{workspace_root} (run %{bin:ocamlyacc} %{deps})))) To use a different rule mode, use the long form: .. code:: dune (ocamlyacc (modules ) (mode ))