Commit graph

25069 commits

Author SHA1 Message Date
Leonardo de Moura
2018dc0959 fix: disable panic messages during initialization
This is a temporary workaround until we implement #467.
Fixes #534
2021-06-29 14:48:48 -07:00
Leonardo de Moura
730c3e2db9 chore: update stage0 2021-06-29 14:32:45 -07:00
Leonardo de Moura
d0358810a7 feat: add lean_set_panic_messages 2021-06-29 14:30:56 -07:00
Sebastian Ullrich
d1f707a6f0 doc: fix typo
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2021-06-29 06:35:45 -07:00
Sebastian Ullrich
9f7af2b77b doc: document a few tactics 2021-06-29 06:35:45 -07:00
Sebastian Ullrich
20fa503803 fix: move elabCommand parts that should happen only once into new function 2021-06-29 06:34:15 -07:00
Sebastian Ullrich
a993e0baa0 fix: non-dependent arrow should not extend local context 2021-06-29 06:31:37 -07:00
Leonardo de Moura
e5d4af5e75 refactor: split Syntax.lean 2021-06-28 13:52:04 -07:00
Leonardo de Moura
953dd85c06 chore: avoid inline 2021-06-28 10:17:01 -07:00
Leonardo de Moura
ae6a28af52 chore: remove unnecessary specialize 2021-06-28 10:11:23 -07:00
Leonardo de Moura
8f9fa8d04c refactor: add BuiltinTactic.lean 2021-06-28 10:08:42 -07:00
Leonardo de Moura
712206f80e refactor: add BindersUtil.lean 2021-06-28 08:44:16 -07:00
Leonardo de Moura
7e1bb3e65b refactor: add MatchAltView.lean and PatternVar.lean 2021-06-28 08:29:47 -07:00
Leonardo de Moura
7f986c62ba refactor: add Arg.lean 2021-06-28 08:10:16 -07:00
Leonardo de Moura
795b15581b refactor: add BuiltinTerm.lean 2021-06-28 07:55:52 -07:00
Sebastian Ullrich
b48831cda7 fix: Nix: put wrapped leanc in #lean-all 2021-06-23 23:30:42 +02:00
Sebastian Ullrich
fc821745ae fix: swallow exception on hover formatting 2021-06-23 23:29:46 +02:00
Sebastian Ullrich
a379d2db5e refactor: simplify matches implementation 2021-06-23 13:59:08 +02:00
Wojciech Nawrocki
40f07ef6a1 fix: make mangling injective again 2021-06-23 00:08:20 -07:00
Wojciech Nawrocki
05d46348c7 fix: 32-bit Unicode name mangling 2021-06-23 00:08:20 -07:00
Sebastian Ullrich
cef3ade164 fix: info on non-atomic simp args 2021-06-23 00:08:07 -07:00
Gabriel Ebner
3cff5ceb99 perf: make trace[...] ... notation lazy 2021-06-23 00:07:27 -07:00
Gabriel Ebner
6a4982622f fix: nontermination in Syntax.reprint 2021-06-23 00:07:27 -07:00
Sebastian Ullrich
d5810d5c6f chore: disable LSAN in server tests for now 2021-06-23 08:53:20 +02:00
Sebastian Ullrich
1c2aacc4a8 fix: worker: don't wait for tasks on exit 2021-06-23 08:53:20 +02:00
Sebastian Ullrich
daac376160 fix: native signature of IO.Process.exit 2021-06-23 08:53:20 +02:00
Sebastian Ullrich
8454102fc4 chore: fix tests 2021-06-22 10:45:29 +02:00
Sebastian Ullrich
de0bf36587 chore: update stage0 2021-06-22 10:39:39 +02:00
Sebastian Ullrich
0948742da1 perf: fix formatting info tree unconditionally 2021-06-22 10:22:08 +02:00
Sebastian Ullrich
479edbe235 refactor: avoid unnecessary withLCtx 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
30a0954424 refactor: revert MonadRef changes 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
65f2874d86 chore: address reviews 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
eb1e285e26 chore: style 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
b8be90fa08 fix: do not show complex terms in hover 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
736d32c026 fix: hover on synthetic sorry 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
9170d1ff99 test: some syntax docstring tests 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
91e3100e30 fix: properly resolve syntax kinds in macro/elab_rules 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
3f4ab0a2af feat: implement elab_rules
TODO: infer category from quotation type
2021-06-21 10:17:26 -07:00
Sebastian Ullrich
a86efc4796 fix: info tree context of command macros 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
9101c9d5da feat: support docstrings on syntax/macro/... 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
efa9369097 chore: restore prefer_native flag 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
14ceae0b0b feat: remove hover restriction to first token 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
652097e184 fix: separate ElabInfo from MacroExpansionInfo, always emit the former before the latter
This way all hover info is contained in the former info node kinds
2021-06-21 10:17:26 -07:00
Sebastian Ullrich
d44e2ea4bd feat: hover & go-to-definition for syntax (on first token) 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
bae919355e feat: matches 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
459e2e8cea chore: print info tree elaborators 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
da4c46370d feat: store elaborator declaration name in info tree 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
e68d09704d chore: Nix CI: build & cache everything again 2021-06-21 11:53:54 +02:00
Sebastian Ullrich
062cc5d567 chore: remove inline 2021-06-19 15:01:43 +02:00
Sebastian Ullrich
b3535e4e3e fix: LLVM setup 2021-06-18 12:24:43 +02:00