-
Notifications
You must be signed in to change notification settings - Fork 237
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
Supporting incremental parsing and additional features in the IDE protocol in support of fstar-vscode-assistant #2853
Conversation
limitations under the License. | ||
*) | ||
|
||
module FStar.Interactive.Ide.Types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactoring several existing modules to put the types in one place, so that we can easily refer to them in other modules without introducing dependency cycles
| GenericError _ | ProtocolViolation _ | FullBuffer _ | Callback _ | Format _ -> false | ||
| Push _ | AutoComplete _ | Lookup _ | Compute _ | Search _ -> true | ||
|
||
let interactive_protocol_vernum = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I explicitly did not increment the protocol version number. I only added new messages and did not want to break existing clients that may be relying on this protocol version number. I confirmed that fstar-mode.el continues to work.
and repl_stack_entry_t = repl_depth_t * (repl_task * repl_state) | ||
|
||
// Global repl_state, keeping state of different buffers | ||
type grepl_state = { grepl_repls: U.psmap repl_state; grepl_stdin: stream_reader } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to FStar.Interactive.Ide.Types
…n in fstar-vscode-assistant
… long-standing bug
…load the extension symbol table
…incremental parsing
…d when cached for the IDE; fix incremental parsing of pragmas; strengthen test-interactive.py
Merging, works with the fstar-vscode-assistant edcc96df402bb617b1421e5a89cf3267e95ed956 |
No description provided.