-
Notifications
You must be signed in to change notification settings - Fork 144
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
disable export_theory in interactive mode #1395
base: develop
Are you sure you want to change the base?
Conversation
If we have to have a guard on this at all, then I'd prefer to let it just be While working in the "before-times" (before we have a nice syntax #1364), I'd still prefer to have you rebind the SML value, along with enforcing the requirement that all |
Currently the HOL parser doesn't even parse |
Mid-file opens should not be a thing. I'd happily grasp that (and other) nettle first just so that eventually layering over a nicer syntax can be done as a separate concern. For the purposes of keeping this particular commit small, please just guard exporting with |
I think mid-file |
4890b3d
to
d58053b
Compare
Of course,
|
It looks like some test-cases will need to be adjusted. |
Also a possibility: usingEdit: implementedGlobals.interactive
as the default value of the flag. I decided not to because I am not sure if users like to runexport_theory
manually in REPL sessions (they shouldn't).This flag is needed to prevent hol4-vscode from generating actual theory outputs when the server reads and runs the file in fast-cheat mode. (Yes, I tried rebinding
export_theory
. It's not reliable because the massive block of opens at the top of most script files has a tendency to re-rebind it.)