-
Notifications
You must be signed in to change notification settings - Fork 412
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
Introduce a [coq.extraction] stanza #3299
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
706cf31
[coq] Introduce a coq.extract stanza
rgrinberg 5d5418f
[coq] Add support for libraries coq.extract
rgrinberg b7f1c0c
[coq] use lowercase names in extraction
rgrinberg 7e1f5ee
[coq] Add external dep to coq.extract tests
rgrinberg da47a0d
[coq] Share common fields between extract and theory
rgrinberg cef9f7f
[coq] handle extract targets centrally
rgrinberg e0a5aed
[coq] Use DuneExtraction as the dummy wrapper name
rgrinberg 0f14b16
Factor out flag handling
rgrinberg 6b4847f
[coq] move bootstrap to own module
rgrinberg 9c388ec
[coq] move stanzas to [Coq_stanza]
rgrinberg 1cce500
[coq] document coq.extract
rgrinberg 2dd4000
[coq] Introduce Coq.Context
rgrinberg 04b9b19
[coq] Add coq flags to Context
rgrinberg 991ed95
[coq] Add more fields to Coq_rules.Context
rgrinberg e32d2fd
[coq] treat extracted list of strings
rgrinberg 10557f8
[coq] update docs
rgrinberg 7ca5339
[coq] Move boot_type to context
rgrinberg 4888857
[coq] little re-org
rgrinberg 3a27436
[coq] Use correct dir for ml_target_names
rgrinberg 9dac391
Simplify build_dir handling
rgrinberg 4222b58
[coq] move source_rule to own function
rgrinberg 8e0e8b0
[coq] improve coqdep errors
rgrinberg ee74014
[coq] run coqdep out of correct dir
rgrinberg e50324d
[coq] make coq.extract use coqdep
rgrinberg 584d082
[coq] rename extract to extraction
rgrinberg 9b11e6e
Update CHANGES
rgrinberg 2ca3397
[coq] change dir of coqc depending on purpose
rgrinberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO it would be worth nothing that the extracted modules will become usable from a regular
(library ,...)
stanza; quite a few users of this feature will be new to Dune and this will not be obvious to them.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. By the way, what do you think of introducing
coq.rst
for all coq related documentation? That page would include a tutorial style introduction and a reference of all the coq related stanzas.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
It used to exist but was removed in the recent refactoring of the refman. But it would be great if it was reintroduced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed it used to be its own, self-contained section; but was removed in favor of merging into the general stanza file. Personally I think it makes more sense the old way, so I'm all for it.
Old chapter can be seen here https://github.com/ocaml/dune/blob/1.11.4/doc/coq.rst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Was there a discussion regarding this change? I’d like to see the arguments for keeping everything in one place.