-
Notifications
You must be signed in to change notification settings - Fork 19
[Draft] Deeper integration with Agda: foundational work #41
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
base: master
Are you sure you want to change the base?
Conversation
ea758a6 to
b3e375a
Compare
|
@banacorn, do you know why CI failed for Agda 2.6.4.3? |
|
Looks great, thank you!! Question: would the data model also keep track of edits made to the file, that hasn't been saved to the file system 👀 |
|
@banacorn in principle it could, but it will take work and may not be worth it yet. Filesystem access is baked into Agda, including resolving imports and searching for Also, Agda is known to slow down on large files and complex types. I suspect that Agda and my code are too slow to constantly reanalyze a file while someone edits it live. Instead, I've set it up to rerun analysis on save, a lot like reloading on In the future, I want to experiment with an incremental model, like what the Haskell and Rust language servers use today. It might be fast enough for live reanalysis, at the cost of major refactoring and complexity. |
Draft PR for #35. Currently likely to break on all but simple files.
Most of the big changes are behind-the-scenes work to enable future development.
AgdaFiles andAgdaLibsAgdaFileAgdaFileAgdaFileinto the "Outline" tab in VS CodeTODO:
agda-stdlib)