-
Notifications
You must be signed in to change notification settings - Fork 63
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
Issuing prove_print command in interpreter results in extra output #25
Comments
This is by design; it's made to match the behavior of ghci. In the interpreter, if you evaluate a command that has saw-script type I guess what's weird about |
I originally ran into this with one of the examples from the tutorial. In that case, the amount of output was so large that most of it scrolled completely off the buffer of my terminal. Only after I increased the buffer size was I able to scroll up and see that "Valid" was printed at all. I suggest adding variable bindings to the tutorial examples that use prove_print so that the code generates the same output in the interpreter as it does in a script. This would result in less confusion for new learners (like myself) who go off-book from time to time. Like so:
|
This is another step toward addressing #25.
…vLit (as the two had the same definition anyway); also changed bitvector literals to use signed integers, and switched to using the bv-sized library to do this translation instead of rolling our own; all of this in support of #25
Running saw on the following file (
test.saw
):Results in the following output:
However, running the same commands directly in the interpreter results in extra output:
The text was updated successfully, but these errors were encountered: