Commit graph

23300 commits

Author SHA1 Message Date
Leonardo de Moura
79c15de131 fix: if-then-else is not builtin notation 2020-12-24 08:02:59 -08:00
Leonardo de Moura
0e2e2fc3f6 feat: delaborate ite and dite 2020-12-24 07:30:48 -08:00
Leonardo de Moura
17114cc3e8 feat: make sure kernel generates KernelException.declHasMVars instead of KernelException.other
... when a declaration contains metavariables.
2020-12-24 06:56:22 -08:00
Leonardo de Moura
c1d163beac chore: update stage0 2020-12-24 06:35:53 -08:00
Leonardo de Moura
ccefe970dc feat: store endPos at Log.lean 2020-12-23 19:09:41 -08:00
Leonardo de Moura
0ca1c13a5d fix: bugs at ExprDefEq 2020-12-23 17:58:54 -08:00
Leonardo de Moura
14989f9758 chore: cleanup 2020-12-23 13:49:28 -08:00
Leonardo de Moura
4fb02df6e9 refactor: remove workaround 2020-12-23 13:35:21 -08:00
Sebastian Ullrich
43ef6a3902 chore: update stage0 2020-12-23 20:02:49 +01:00
Sebastian Ullrich
d2b82bf563 doc: LSP setup using Nix 2020-12-23 20:00:52 +01:00
Sebastian Ullrich
f42bd8f693 chore: deactivate server tests for now 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
2740a8c012 chore: adapt server to upstream 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
06fb031803 feat: basic progress structures
Was too lazy to finish when I realized that I can't just start sending progress reports to the client...
2020-12-23 20:00:36 +01:00
Sebastian Ullrich
2a8807b2a1 chore: remove old file 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
f4ef29b800 chore: remove obsolete workaround 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
1c4460a206 chore: move lean4-lsp into lean4-mode 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
be8abe9f86 feat: Nix: support LSP 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
c7262544ab chore: simplify & fix lean4-lsp.el 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
1b9ae69729 feat: port basic server tests 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
93f32ae173 chore: misc changes to server 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
7dabff382f feat: prepare for Ipc server testing 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
ed81967338 doc: AsyncList methods 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
4c2e50d9e8 feat: encode/decode JSON null more permissively 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
3fca58ea8c feat: IO.FS.Handle.size 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
f6b3fedcc6 fix: JSON printing 2020-12-23 20:00:36 +01:00
mhuisi
883c197830 chore: string formatting 2020-12-23 20:00:36 +01:00
mhuisi
f656439f59 fix: wrong diagnostic order 2020-12-23 20:00:36 +01:00
mhuisi
377c3dc6fe feat: add WatchdogM wrapper for testing, collectDiagnostics and remove waitForRequests again after reconsideration 2020-12-23 20:00:36 +01:00
mhuisi
23371c5f82 feat: waitForDiagnostics & waitForResponses requests 2020-12-23 20:00:36 +01:00
mhuisi
80b87390e6 chore: trailing whitespace 2020-12-23 20:00:36 +01:00
mhuisi
563d4f3adc chore: complete rebase and add deriving commands 2020-12-23 20:00:36 +01:00
mhuisi
9306b9330e chore: refactor FileWorker 2020-12-23 20:00:36 +01:00
Marc Huisinga
0dca44da30 chore: ever so slightly improve watchdog doc 2020-12-23 20:00:36 +01:00
Marc Huisinga
8658577731 chore: refactor Watchdog 2020-12-23 20:00:36 +01:00
Marc Huisinga
6248e6329e chore: refactor jsonrpc and lsp handle functions and deal with fallout 2020-12-23 20:00:36 +01:00
Marc Huisinga
975b344278 chore: adjust to upstream 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
644489c29c doc: document launching server from Lean shell 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
5426c44e49 feat: launch server from main Lean shell 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
b67526b93c chore: terser streams 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
c9f88ff89e fix: compare ASTs in the server
Hopefully this can handle all edge cases.
2020-12-23 20:00:36 +01:00
Marc Huisinga
37a49afd7b fix: snapshot list divergence & stale diagnostics 2020-12-23 20:00:36 +01:00
Marc Huisinga
614e981c19 chore: refactor with new where syntax and auto-quantification 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
8b632dad73 fix: server worker fills stderr pipe 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
5b613eab09 fix: server ContentChangeEvent order 2020-12-23 20:00:36 +01:00
Marc Huisinga
8c4becbdd3 chore: superficial refactoring 2020-12-23 20:00:36 +01:00
Marc Huisinga
c4d3f99969 chore: use MonadLift and autolifting 2020-12-23 20:00:36 +01:00
Marc Huisinga
5c07f20c3b chore: fix Less name 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
278cd1aefc hack: prefer source code in interpreter 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
827dbc92a9 fix: AsyncList bug 2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
e0d2af1805 chore: move to new frontend 2020-12-23 20:00:36 +01:00