-
Notifications
You must be signed in to change notification settings - Fork 3
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 support for arbitrary input for prompts #422
Comments
This sounds like a good interim solution. |
WIP: #423 |
From @danmatichuk:
|
From @danmatichuk
|
I've now updated the scripting backend to be agnostic of whether or not a given input element is a menu selection or parsed input. e.g. a script step This is mostly working, except for some strange differences in behavior when running the verifier through |
Currently the only input that the verifier supports is choosing from a list of options. This has a number of drawbacks that are already apparent (i.e. when selecting addresses for sync/desync points), and would make it difficult to provide the necessary input for providing additional constraints to counter-examples.
As an interim solution pending a better protocol between the front and backend, we can simply add a command to the TTY that takes a string as input and is parsed in the context of the current prompt. The most straightforward solution is to have these always parsed as JSON objects into some simple AST datatype that is then interpreted by the prompt.
The text was updated successfully, but these errors were encountered: