Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add menhir table for packages #211

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

emilienlemaire
Copy link
Contributor

This PR add some more menhir support in drom packages, to handle #199

@@ -340,6 +340,22 @@ if not specified:
* :code:`synopsis`: the one-line description of the package
* :code:`version`: the version of this package

For :code:`menhir` usage, you will find an optional :code:`[menhir]` talbe,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

talbe ?

* :code:`infer`: an optional boolean which adds the :code:`(infer <bool>)`
rule to the :code:`dune` file
* :code:`tokens`: an optional table that will add the `--only-tokens` flag
to the :code:`menhir` rule with the following fiels:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fiels ?

@lefessan lefessan merged commit b2bc2e6 into OCamlPro:master May 10, 2023
@glyh
Copy link

glyh commented Jul 18, 2023

Hello, I'm new to Ocaml. Could you please provide some example on how to use this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants