Read configuration from make File.fst-in
#30
Merged
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.
The make target
File.fst-inis a standard way to obtain the F* command-line flags necessary to buildFile.fst. This PR adds support to the LSP server to read the configuration frommake File.fst-inif there is no.fst.config.jsonfile.(Running
makecan potentially take quite some time, so I've made the whole configuration loading code async.)@nikswamy I think you have something similar in your emacs config. Does this look right? If there's a file
lib/foo/Bar.fst, then we runmake Bar.fst-inthelib/foodirectory and then split the output by spaces. Are there any options we'd need to filter out?