This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

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