Commit graph

26840 commits

Author SHA1 Message Date
Leonardo de Moura
a438a2ee21 feat: elaborate arbitrary_or_ofNonempty% and use it to define constants 2022-01-14 17:22:39 -08:00
Leonardo de Moura
2fe59456fd chore: update stage0 2022-01-14 17:19:34 -08:00
Leonardo de Moura
0a726a755f feat: add helper parser arbitrary_or_ofNonempty% 2022-01-14 17:11:55 -08:00
Leonardo de Moura
226d828e19 chore: update stage0 2022-01-14 16:51:05 -08:00
Leonardo de Moura
c34adb7dd5 feat: allow partial definitions to be define if type is non empty 2022-01-14 16:50:36 -08:00
Leonardo de Moura
f1adedb2de feat: add Classical.ofNonempty 2022-01-14 15:59:11 -08:00
Leonardo de Moura
83b69bc340 refactor: move Classical.choice and Nonempty to Prelude 2022-01-14 15:59:11 -08:00
Sebastian Ullrich
9ab5f0376e feat: Nix: iTree attribute for symlinking (complete) ilean files 2022-01-14 19:02:10 +01:00
Sebastian Ullrich
753e396705 fix: recurse in findAllWithExt 2022-01-14 18:59:58 +01:00
Sebastian Ullrich
6ec406b7d0 feat: System.FilePath.walkDir 2022-01-14 16:22:14 +01:00
larsk21
b712918db9 fix: unify handleDefinition for imports 2022-01-14 10:32:06 +01:00
larsk21
ecaa004dcc feat: make withWaitFindSnap consider all snaps of a document 2022-01-14 10:32:06 +01:00
larsk21
e584560b17 feat: enable "go to definition" for imports 2022-01-14 10:32:06 +01:00
larsk21
89bbaf514e feat: include imports in header snap info tree 2022-01-14 10:32:06 +01:00
Joscha
6d809e7cd1 test: remove references test
This test no longer works since the 'references' request now requires at
least a watchdog, but this kind of test only work with file workers.
2022-01-14 09:18:57 +01:00
Sebastian Ullrich
8e5fc66330 fix: do not error on non-existent search path entries 2022-01-14 09:18:57 +01:00
Sebastian Ullrich
a0e8c6183b fix: parser should create choice node even on error 2022-01-14 09:18:57 +01:00
Joscha
8c5868e106 perf: reduce size of ilean files 2022-01-14 09:18:57 +01:00
Sebastian Ullrich
37f5be1b26 chore: fix servertest_init_exit 2022-01-14 09:18:57 +01:00
Sebastian Ullrich
d503fe6d13 refactor: avoid double exception layer with AsyncList 2022-01-14 09:18:57 +01:00
Joscha
d8ec900ae9 refactor: use array instead of list in AsyncElabState 2022-01-14 09:18:57 +01:00
Joscha
ab52480b69 fix: implement suggestions 2022-01-14 09:18:57 +01:00
Joscha
4bcf7ab31f style: add copyright headers 2022-01-14 09:18:57 +01:00
Joscha
b9f8f5eb38 fix: find references of function parameters 2022-01-14 09:18:57 +01:00
Joscha
281ede6ed4 feat: handle references notifications 2022-01-14 09:18:57 +01:00
Joscha
f98cf0289c feat: send references notification when file evaluation finishes 2022-01-14 09:18:57 +01:00
Joscha
7cce91acb4 refactor: move some reference-related types to Lean.Data
These types are required for worker->watchdog notifications.
2022-01-14 09:18:57 +01:00
Joscha
088433dc57 refactor: let AsyncList creation be stateful 2022-01-14 09:18:57 +01:00
Joscha
67aa823ae2 fix: resolve symlinks for the LSP client 2022-01-14 09:18:57 +01:00
Joscha
bce56fdc0c feat: implement reference request 2022-01-14 09:18:57 +01:00
Joscha
7abdf94fc5 feat: respond to reference request in watchdog 2022-01-14 09:18:57 +01:00
Joscha
4fd1d22c31 feat: load and unload ileans on LSP notifications 2022-01-14 09:18:57 +01:00
Joscha
4e12cc902b feat: load ilean files from olean search path 2022-01-14 09:18:57 +01:00
Joscha
567a854a15 feat: load search path for source files in watchdog 2022-01-14 09:18:57 +01:00
Joscha
87b8afff6b feat: register file watcher for .ilean files 2022-01-14 09:18:57 +01:00
Joscha
bcc499b7c0 feat: build .ilean files next to .olean files 2022-01-14 09:18:57 +01:00
Joscha
346b50a22e chore: update stage0 2022-01-14 09:18:57 +01:00
Joscha
3f998c68bc feat: export reference info to ilean files 2022-01-14 09:18:57 +01:00
Joscha
96ed620933 feat: collect reference info from InfoTrees 2022-01-14 09:18:57 +01:00
Joscha
efb964956e feat: add FileRefMap and convert to/from JSON 2022-01-14 09:18:57 +01:00
Joscha
fead5526bc feat: add -i cli option 2022-01-14 09:18:57 +01:00
Simon Hudon
ec3cc0cc45
feat: lean-mode: auto-select lean 3 mode 2022-01-14 09:17:34 +01:00
Leonardo de Moura
6d235586f0 fix: ignore TC failures while processing patterns
closes #948
2022-01-13 10:55:09 -08:00
Leonardo de Moura
1620987b6c fix: recursive applications in discriminants 2022-01-13 09:56:33 -08:00
Sebastian Ullrich
b56fa81b70 chore: CI: sanitizer-blacklist Lake test again
Apparently 1500s are not sufficient for termination...
2022-01-13 17:10:07 +01:00
Leonardo de Moura
8c45c844aa test: add wellfounded test 2022-01-12 17:16:43 -08:00
Leonardo de Moura
3fbf5acbee fix: add missing [reducible] annotations Init/WF.lean 2022-01-12 17:12:55 -08:00
Leonardo de Moura
98864f707e test: add test for #879
The new `termination_by` syntax should address issue #879

closes #879
2022-01-12 16:25:09 -08:00
Leonardo de Moura
7fe6881c42 feat: use new termination_by syntax 2022-01-12 16:23:25 -08:00
Leonardo de Moura
35a49ca535 chore: update stage0 2022-01-12 16:23:25 -08:00