Gabriel Ebner
70ef4e529c
feat: allow attributes on structures and inductives
2021-12-23 08:04:36 -08:00
Gabriel Ebner
f43f74e78f
chore: suppress newline after .
2021-12-23 13:56:22 +01:00
Gabriel Ebner
72851652f1
fix: spacing in suffices...by
2021-12-23 13:56:22 +01:00
Gabriel Ebner
25714a8ee1
fix: calc syntax roundtrip
2021-12-23 13:56:22 +01:00
Mario Carneiro
7956a9bb15
chore: typos
2021-12-23 10:14:39 +01:00
Sebastian Ullrich
292fb257a7
perf: do not specialize Prop typeclasses
2021-12-22 17:48:11 -08:00
Sebastian Ullrich
399ad64854
perf: do not specialize Inhabited
2021-12-22 17:48:11 -08:00
Sebastian Ullrich
45e8d9af43
feat: support [nospecialize] on typeclasses
2021-12-22 17:48:11 -08:00
Sebastian Ullrich
b4385bd259
perf: export lake symbols for the interpreter
2021-12-22 23:33:58 +01:00
Gabriel Ebner
546bb8f053
fix: widgets: do not highlight entire expression in popup
2021-12-21 21:54:51 +01:00
Sebastian Ullrich
fdd939fc40
fix: accidental memory leak in last commit
2021-12-21 19:43:02 +01:00
Sebastian Ullrich
3318f1fb05
feat: record declaration name in interpretation profile
2021-12-21 19:04:58 +01:00
Sebastian Ullrich
c62c8bd64b
chore: reenable servertest_edit
2021-12-21 18:11:28 +01:00
Gabriel Ebner
412691c958
feat: support LEAN_NUM_THREADS environment variable
2021-12-21 17:01:08 +01:00
Sebastian Ullrich
5b653197db
chore: use --run for servertests
...
/cc @Garmelon
2021-12-21 16:04:21 +01:00
Sebastian Ullrich
cbdad10419
chore: exclude flaky laketest under sanitizer for now
...
unclear how to reproduce
2021-12-21 12:19:22 +01:00
Sebastian Ullrich
b732484663
fix: do not consider worker threads as idle during startup
...
Without this change, enqueuing multiple tasks before the first worker
was started led to only a single worker being created. Now the first
increment and decrement happen under the task manager mutex, so
effectively the worker is never idle until it is out of tasks.
2021-12-21 12:01:23 +01:00
Leonardo de Moura
b278a20ac2
feat: ensure #eval converts unassigned universe metavars into parameters
...
see #898
2021-12-20 06:11:36 -08:00
Sebastian Ullrich
51dc32957b
feat: show universe args on hover
...
We might also want to replace them with fresh vars to make the hover
completely independent of the context, but this change at least avoids
any hidden information.
2021-12-20 10:51:44 +01:00
Sebastian Ullrich
068ea1beb4
fix: leanc: do not change sysroot
...
Apparently clang is smart enough to look up runtime files missing from
the sysroot in the installation directory automatically.
2021-12-19 18:55:57 +01:00
Chris Lovett
c3a9860dc8
doc: replace leanpkg info with info about Lake
...
Fixes #789
2021-12-19 17:23:25 +01:00
Sebastian Ullrich
6f9c6e4556
doc: match: mention (generalizing := true)
2021-12-19 11:14:27 +01:00
Sebastian Ullrich
5f96a9fc4d
fix: do not show type of sort in hover
...
Fixes #896
2021-12-19 11:03:15 +01:00
tydeu
f4a73889e7
feat: expose more version info (e..g., toolchain)
2021-12-19 10:44:35 +01:00
Leonardo de Moura
92a511be29
chore: fix test
2021-12-18 11:05:37 -08:00
Leonardo de Moura
6499798a35
chore: update stage0
2021-12-18 11:01:54 -08:00
Sebastian Ullrich
167dccce0b
chore: move Leanpkg.leanVersionString to Init
2021-12-18 10:59:37 -08:00
Sebastian Ullrich
234d806f6b
chore: deprecate leanpkg
2021-12-18 10:59:37 -08:00
Mario Carneiro
f17064809c
fix doctest
2021-12-18 10:58:57 -08:00
Mario Carneiro
f22f699d62
feat: split replicate / replicateTR with @[csimp]
2021-12-18 10:58:57 -08:00
Leonardo de Moura
be6bc67eb0
fix: ensure match-expressions compiled using if-then-else can be reduced with TransparencyMode.reducible
...
closes #891
2021-12-18 10:55:42 -08:00
Leonardo de Moura
b3d8766b09
chore: use doubleticks at WHNF.lean
2021-12-18 08:43:50 -08:00
Leonardo de Moura
b6fbdd8679
feat: add Meta.Context.canUnfold?
2021-12-18 08:25:56 -08:00
Leonardo de Moura
c954fc9ec7
fix: bug at simpLoop
2021-12-18 06:48:08 -08:00
Sebastian Ullrich
cd94ec20b0
fix: aux_def: avoid creating unparseable names
2021-12-17 14:21:35 -08:00
Mario Carneiro
51a78fd7af
fix: change argument order of List.get[!?D]
2021-12-17 14:21:00 -08:00
Mario Carneiro
caf09e85ad
chore: universe generalize implies_true
2021-12-17 14:19:54 -08:00
Leonardo de Moura
d51def739e
chore: update stage0
2021-12-17 07:25:59 -08:00
Leonardo de Moura
dce55f79ed
feat: eliminate recursive application syntax annotation at addAndCompileUnsafe
2021-12-17 07:24:44 -08:00
Leonardo de Moura
7df9cf6a0a
feat: eliminate "recAppSyntax" information during structural recursion
2021-12-17 07:15:14 -08:00
Leonardo de Moura
6b82e15069
feat: preserve variable names when packing domain
2021-12-17 07:10:26 -08:00
Leonardo de Moura
8b7411bdd8
feat: improve error location at well-founded recursion
2021-12-17 06:50:20 -08:00
Sebastian Ullrich
9e5ff3db0e
feat: setMainModule in worker
2021-12-17 12:22:53 +01:00
Sebastian Ullrich
ca740f5687
chore: fix copy-produced
2021-12-17 12:22:53 +01:00
Sebastian Ullrich
51adfa2e0c
fix: do not call lake print-paths for lakefile.lean
...
Fixes #873
2021-12-17 12:22:30 +01:00
tydeu
e34c892f89
chore: update Lake
2021-12-17 10:20:37 +01:00
Sebastian Ullrich
5a16745ad9
chore: Nix: add devShell
2021-12-17 09:43:22 +01:00
Leonardo de Moura
2d4d5ae96f
feat: save syntax around recursive applications
...
Motivation: better error messages at structural and well-founded recursion.
2021-12-16 17:13:55 -08:00
Leonardo de Moura
e38fab1b4e
fix: ignore Expr.MData at deltaRHS?
2021-12-16 16:58:10 -08:00
Leonardo de Moura
de29657594
feat: implement bool operator==(data_value const & a, data_value const & b) using Lean autogenerated code
2021-12-16 16:37:47 -08:00