Skip to content
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

Merged
merged 55 commits into from
Apr 1, 2023

Conversation

nikswamy
Copy link
Collaborator

No description provided.

nikswamy and others added 30 commits March 10, 2023 13:11
…f constants; add a config file for the F* compiler for use in vscode
This reverts commit 64eb234.
limitations under the License.
*)

module FStar.Interactive.Ide.Types
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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 }
Copy link
Collaborator Author

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

nikswamy added 21 commits March 22, 2023 16:54
…d when cached for the IDE; fix incremental parsing of pragmas; strengthen test-interactive.py
@nikswamy
Copy link
Collaborator Author

nikswamy commented Apr 1, 2023

Merging, works with the fstar-vscode-assistant edcc96df402bb617b1421e5a89cf3267e95ed956
Though, further improvements to follow

@nikswamy nikswamy merged commit 2261e6f into master Apr 1, 2023
@nikswamy nikswamy deleted the nik_fstar-vscode-assistant branch April 1, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants