Open
Conversation
gebner
reviewed
Feb 13, 2026
src/parser/FStarC.Parser.Dep.fst
Outdated
| || Options.any_dump_module() | ||
| then ( | ||
| if debug_fly_deps () | ||
| if Debug.any() |
Contributor
|
Can we make |
gebner
reviewed
Feb 13, 2026
| @@ -1,38 +0,0 @@ | |||
| (* | |||
Contributor
There was a problem hiding this comment.
Also what's up with deleting the F# test? (I realize that we don't run it during CI, but it still serves as a template to see how it should work.)
Author
There was a problem hiding this comment.
Is F# supported fully, or dropped fully?
Collaborator
There was a problem hiding this comment.
Ha, good question : ) Neither, currently.
Author
|
The complicated fstar.exe command produces the dependency graph as a dune file. Maybe we could add it itself to dune |
Contributor
That would be ideal. |
added 2 commits
February 14, 2026 02:52
cf045ca to
2f8d83b
Compare
2f8d83b to
245e0bb
Compare
Author
|
Cool, only |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add --dep dune support and migrate examples/hello to dune
Summary
Adds a new --dep dune output format to fstar.exe that generates (rule ...) stanzas suitable for inclusion in dune build files. Migrates examples/hello/ (Hello and multifile)
from the old Makefile-based build to dune as a reference example.
What's new
--dep dune output format (src/parser/FStarC.Parser.Dep.fst)
Filepath.make_relative_to utility (src/basic/, src/ml/)
examples/hello/ dune migration
Usage
Generate dune dependency rules
fstar.exe --dep dune --already_cached 'Prims FStar' Hello.fst --extract 'OCaml:Hello' > dune.deps.incBuild from examples/hello/
cd examples/hello && make