E.W.Ayers
260e42b0a7
doc: fix docs from review
2022-10-20 11:20:42 -07:00
E.W.Ayers
8085ce88e9
feat: CodeActionProvider
...
This is a low-level system for registering LSP code actions.
Developers can register their own code actions.
In future commits I am going to add features on top of this.
2022-10-20 11:20:42 -07:00
Leonardo de Moura
aeddcbdc6d
fix: disable implicit lambdas at intro <pattern> notation
...
See issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/intro.20with.20type.20specified/near/305150215
2022-10-20 09:04:06 -07:00
Leonardo de Moura
dddf9e8a3f
chore: remove leftover comment
2022-10-20 08:35:47 -07:00
Mario Carneiro
dd8bbe9367
fix: catch kernel exceptions in Kernel.{isDefEq, whnf}
...
fixes #1756
2022-10-20 05:38:29 -07:00
Mario Carneiro
583e023314
chore: snake-case attributes (part 2)
2022-10-19 09:28:08 -07:00
Mario Carneiro
dd5948d641
chore: snake-case attributes (part 1)
2022-10-19 09:28:08 -07:00
Sebastian Ullrich
9fd433785b
chore: register pretty printer trace classes
2022-10-19 14:51:07 +02:00
Gabriel Ebner
0c2a5580cb
feat: enforce correct syntax kind in macros
2022-10-18 14:59:14 -07:00
Gabriel Ebner
fb4d90a58b
feat: dynamic quotations for categories
2022-10-18 14:59:14 -07:00
Leonardo de Moura
084a173a47
feat: disable info tree while creating WF auxiliary definitions
2022-10-18 07:44:39 -07:00
Leonardo de Moura
1d6d61af89
feat: disable info tree while creating _unsafe_rec
2022-10-18 07:05:19 -07:00
Leonardo de Moura
4d51cdd1b7
feat: disable info tree while creating sunfold definitions
...
see #1750
2022-10-18 06:57:46 -07:00
Mario Carneiro
faa612e7b7
chore: remove #resolve_name
2022-10-17 14:53:51 -07:00
Mario Carneiro
8fc6a2a856
fix: dbg_trace tactic
2022-10-17 14:48:23 -07:00
Leonardo de Moura
641fa77738
chore: minimize the number of red-black insert specializations
2022-10-16 16:20:46 -07:00
Leonardo de Moura
ec59bbe15c
chore: ensure LCNF pretty printer result supports Format.group
2022-10-16 16:06:08 -07:00
Leonardo de Moura
72c576f62a
feat: complete reduceArity pass
2022-10-16 16:00:33 -07:00
Leonardo de Moura
9244a7a8a5
fix: ensure old and new compiler auxiliary declaration names do not collide
2022-10-16 14:49:55 -07:00
Leonardo de Moura
40f2247c61
perf: zero cost IR extension startup cost
2022-10-16 14:49:50 -07:00
Leonardo de Moura
defd544d5d
feat: add collectUsedParams
2022-10-16 14:20:32 -07:00
Leonardo de Moura
4eaf22118a
feat: add cse pass at mono phase
2022-10-16 08:58:06 -07:00
Leonardo de Moura
fd46ef01e8
chore: add another floatLetIn pass
...
See `elabAppFn` for a function that benefits from this extra pass.
2022-10-16 08:51:13 -07:00
Leonardo de Moura
ae627e9a58
chore: remove leftover from old frontend
2022-10-16 08:41:03 -07:00
Leonardo de Moura
c20febff31
feat: add helper Syntax.node* functions
2022-10-16 08:40:01 -07:00
Leonardo de Moura
bebce084fa
fix: bug at toLCNF.visitMData
2022-10-16 07:38:40 -07:00
Leonardo de Moura
8a81dfb876
feat: add Probe.sortedBySize, Probe.tail, and Probe.head
2022-10-15 20:12:53 -07:00
Leonardo de Moura
4b018cdc72
chore: missing annotations
2022-10-15 19:51:56 -07:00
Leonardo de Moura
9a41680ec9
feat: add Probe.getJps
2022-10-15 19:28:59 -07:00
Leonardo de Moura
dac4e6f214
fix: probing functions were not visiting FunDecl.value
2022-10-15 17:50:18 -07:00
Leonardo de Moura
b4d850502d
fix: avoid join point that takes closure at seqToCode
2022-10-15 15:48:02 -07:00
Leonardo de Moura
4d9483d1fa
fix: if inlined code returns a function and has more than one exit point, create an auxiliary function instead of a join point that takes a closure as argument
2022-10-15 11:56:52 -07:00
Leonardo de Moura
53b995386d
fix: avoid [anonymous] at LCNF binder names
2022-10-15 11:56:52 -07:00
Leonardo de Moura
376c541e9a
feat: do not generate code for declarations that will be specialized
2022-10-15 08:54:46 -07:00
Leonardo de Moura
359dc77664
refactor: move isTemplateLike to LCNF/Basic.lean
2022-10-15 08:51:20 -07:00
Leonardo de Moura
3505b60a22
feat: probing helper functions
2022-10-15 08:51:20 -07:00
Leonardo de Moura
6378283fa8
feat: add Probe.toString
2022-10-14 19:21:56 -07:00
Henrik Böving
38788a72be
feat: basic compiler probing framework with examples
2022-10-14 19:09:35 -07:00
Gabriel Ebner
045a71ab33
hack: ignore maxCoeSize for monad coercions
2022-10-14 12:08:10 -07:00
Gabriel Ebner
1c561c39a8
feat: function coercions with unification
2022-10-14 12:08:10 -07:00
Leonardo de Moura
3f076fc836
perf: missing annotations and helper instances
2022-10-14 08:42:50 -07:00
Leonardo de Moura
0a126b7702
perf: better support for "inlineable" instances
2022-10-14 08:42:50 -07:00
Leonardo de Moura
1bb67918f8
chore: cleanup eagerLambdaLifting and add notes
2022-10-14 08:42:50 -07:00
Rishikesh Vaishnav
76c4693c95
fix: improve fuzzy-matching heuristics ( #1710 )
2022-10-14 16:17:14 +02:00
Mario Carneiro
4c1ed9e2bc
fix: hovers in appUnexpander attr
2022-10-14 10:06:12 +02:00
Leonardo de Moura
31f2acd97a
chore: cleanup trace messages
2022-10-13 18:56:17 -07:00
Leonardo de Moura
19301c09c6
chore: remove unnecessary match
2022-10-13 18:56:17 -07:00
Mario Carneiro
857e452281
feat: optional doc comment for register_simp_attr
2022-10-13 18:52:56 -07:00
Leonardo de Moura
6ed89a4ceb
chore: revert cross module lambda lifting cache
...
It adds almost 50Mb to the .olean files.
2022-10-13 18:42:52 -07:00
Leonardo de Moura
ac9d65b17b
feat: cache lambda lifting
2022-10-13 11:24:14 -07:00