-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add compile
subcommand
#1278
Comments
This reverts commit fc88f06. We need to wait on updating this fixture until we have informalsystems/quint#1278 in place, so we can generate the correct, flattened fixtures.
This reverts commit fc88f06. We need to wait on updating this fixture until we have informalsystems/quint#1278 in place, so we can generate the correct, flattened fixtures.
I am so happy that we both came up with the same idea independently! #359 |
Ah yeah, I remember that issue now! I was probably channeling subconscious recollection of it :) I think I agree with the functionality I'm not sure if I agree on the preferred interface. We can probably merge these issues. The main thing I need is output of the stage that includes flattening, and a As to whether we should merge the |
Closing as duplicate of #359 |
If you would like to introduce a third command along with |
I Believe @shonfeder meant to close this, so closing (GitHub UI is terrible for this IMO) |
We currently offer the following subcommands in the CLI:
parse
andtypecheck
can be used to check an input's validity for syntax and typechecking, respectively, and to produce the intermediate stage of IR resulting from those processes. However,run
,test
,verify
do not operate on the result of typechecking: instead they all require post-processing that includes forms of flattening and inlining.This stage of the process is not exposed through the CLI currently, even tho it would be helpful for debugging and is probably what other tooling would want to consume.
I propose exposing this stage of the process through a
compile
subcommand, which will also become the recommended way for users to perform all static analysis and processing to a spec before passing it off to other tools.The text was updated successfully, but these errors were encountered: