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

Autoload extension plugins #3533

Merged
merged 2 commits into from
Oct 6, 2024
Merged

Autoload extension plugins #3533

merged 2 commits into from
Oct 6, 2024

Conversation

mtzguido
Copy link
Member

@mtzguido mtzguido commented Oct 6, 2024

If we go over a #lang-xyz, and we cannot find an extension xyz in the
internal table, this tries to find a plugin xyz.cmxs in the include
path and loading it automatically.

This is extremely convenient for Pulse, where with fstar.include and
this we can now do:

fstar.exe share/pulse/examples/ArrayTests.fst

and it just works.

If we go over a #lang-xyz, and we cannot find an extension xyz in the
internal table, this tries to find a plugin `xyz.cmxs` in the include
path and loading it automatically.

This is extremely convenient for Pulse, where with fstar.include and
this we can now do:

    fstar.exe share/pulse/examples/ArrayTests.fst

and it just works.
@mtzguido
Copy link
Member Author

mtzguido commented Oct 6, 2024

Merging this, I'll separately add a #load directive, but this is very useful as it is.

@mtzguido mtzguido merged commit 8ffc5fa into FStarLang:master Oct 6, 2024
2 checks passed
@mtzguido mtzguido deleted the autoload branch October 6, 2024 20:22
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.

1 participant