Gabriel Ebner
7e483d3a0a
feat: support syntax abbreviations in dynamic quotations
2021-12-15 11:17:58 +00:00
tydeu
a3250dc44b
feat: expose --load-dynlib functionality to Lean code
2021-12-15 08:26:48 +00:00
Leonardo de Moura
34430cd7c3
fix: semantic highlighting for keywords of the form #<alpha>...
...
closes #703
2021-12-14 17:58:56 -08:00
Leonardo de Moura
5b14caf329
fix: missing addTermInfo at elabAtomicDiscr
...
closes #820
2021-12-14 17:20:46 -08:00
tydeu
42d8c333a6
chore: update Lake
2021-12-14 14:36:21 -08:00
tydeu
e37cde0def
test: reorganize ffi example
2021-12-14 16:45:43 -05:00
Gabriel Ebner
45bcef5dab
refactor: server: use String.firstDiffPos to find changes
...
This is necessary so that we do not reprocess the whole file if
incremental sync is disabled.
2021-12-14 11:55:34 -08:00
tydeu
c0693c93be
chore: update Lake
2021-12-14 11:53:51 -08:00
Leonardo de Moura
448bac5b3e
chore: one add_test per lake test
2021-12-14 11:48:14 -08:00
tydeu
7199eea687
refactor: cleanup/improve Target utils
2021-12-14 14:12:43 -05:00
Leonardo de Moura
136fab0723
feat: improve error message for let ... ← ... outside of a do
2021-12-14 08:56:22 -08:00
Leonardo de Moura
1c83ea9e40
fix: typo at hasUnusedArguments
...
See comment at #815
2021-12-14 06:50:34 -08:00
tydeu
26a225e230
chore: fix tests
2021-12-14 09:33:52 +01:00
tydeu
d518ba7f08
feat: use BaseIO more in Init.System.IO
2021-12-14 09:33:52 +01:00
tydeu
50a84fcd55
test: add print-paths of dep modules check
2021-12-13 20:27:35 -05:00
tydeu
ac47b4fb01
refactor: remove Package from BuildContext
2021-12-13 19:53:45 -05:00
tydeu
8f4b203b2f
refactor: include package in module info
...
fixes various issues with `lake print-paths` builds
2021-12-13 19:08:06 -05:00
Leonardo de Moura
3856d0030c
feat: improve do notation error message for pure code
...
See #770
2021-12-13 11:08:38 -08:00
Leonardo de Moura
e335b2ac8a
feat: add noncomputable sections
...
See https://github.com/leanprover-community/mathport/issues/71
2021-12-13 11:02:46 -08:00
Leonardo de Moura
5f0def2edf
chore: update stage0
2021-12-13 10:39:19 -08:00
Leonardo de Moura
55db56f80d
feat: add noncomputable section parser
2021-12-13 10:35:16 -08:00
tydeu
e054596cfa
chore: bump Lean version
2021-12-13 10:59:53 -05:00
Sebastian Ullrich
0ade9ee39b
fix: make IO.Process.Child.wait fallible
2021-12-13 15:12:48 +01:00
Leonardo de Moura
3a6cc77424
chore: update lake
2021-12-12 08:29:30 -08:00
Leonardo de Moura
99bd215dcb
chore: where struct instance parser
...
The parser was modified to fix issue https://github.com/leanprover/lean4/issues/753
cc @tydeu
2021-12-12 08:26:20 -08:00
Leonardo de Moura
133c58aba2
chore: update stage0
2021-12-12 08:17:30 -08:00
Leonardo de Moura
bf3b0c53ad
chore: add helper parser
2021-12-12 08:16:42 -08:00
Leonardo de Moura
b2e065a3ba
chore: avoid where structure instance notation
...
This is a workaround to avoid staging issues.
2021-12-12 07:59:38 -08:00
Leonardo de Moura
b6ef65d8fd
fix: where structure instance parser
...
closes #753
2021-12-12 07:52:52 -08:00
Leonardo de Moura
a3361e7d86
fix: missing universe assignments made during TC resolution
...
closes #796
2021-12-12 07:07:13 -08:00
tydeu
56bae17924
feat: also set LEAN_SYSROOT and LEAN_SRC_PATH with env
2021-12-11 18:19:30 -05:00
tydeu
8b66dbf285
refactor: use error in Load.lean
2021-12-11 17:53:31 -05:00
tydeu
197b8e5c1d
feat: better error messages for missing CLI args
2021-12-11 16:47:28 -05:00
Sebastian Ullrich
a91b861919
Revert "chore: CI: propagate prepare-*.sh errors"
...
This reverts commit 198d3103cd .
2021-12-11 17:37:12 +01:00
Sebastian Ullrich
198d3103cd
chore: CI: propagate prepare-*.sh errors
2021-12-11 09:51:27 +01:00
Sebastian Ullrich
ed3dad9313
fix: bundling on Linux
2021-12-11 09:10:06 +01:00
tydeu
d785652792
chore: update Lake
2021-12-10 16:38:31 -08:00
Leonardo de Moura
d5f1a5d1d1
fix: in-word completion
...
closes #857
2021-12-10 15:48:35 -08:00
tydeu
f0ad325e09
feat: fallback to ar when llvm-ar is not bundled with Lean
2021-12-10 18:30:34 -05:00
Anders Christiansen Sørby
bec311bf48
chore: fix Nix setup ( leanprover/lake#38 )
2021-12-10 17:59:56 -05:00
Sebastian Ullrich
fddbc3c09e
fix: empty option completion
2021-12-10 14:19:19 -08:00
Sebastian Ullrich
a4633d30e2
fix: option completion after trailing .
2021-12-10 14:19:19 -08:00
Sebastian Ullrich
74dba7c64e
fix: do not hide trace messages on partial syntax
2021-12-10 14:19:19 -08:00
Sebastian Ullrich
ce2e733f17
fix: make option completion work in presence of value
2021-12-10 14:19:19 -08:00
Leonardo de Moura
1003840376
chore: update lake
2021-12-10 13:20:27 -08:00
Leonardo de Moura
0555e29808
chore: do cannot be used in pure code anymore
...
cc @tydeu
2021-12-10 13:18:27 -08:00
Leonardo de Moura
63decd445c
chore: fix test
2021-12-10 13:13:03 -08:00
Leonardo de Moura
68bd55af32
chore: fix codebase
2021-12-10 13:12:09 -08:00
Leonardo de Moura
d9d44baabe
chore: update stage0
2021-12-10 12:56:00 -08:00
Leonardo de Moura
483f32edd8
feat: in pure code, do use assume Id monad at do notation
...
This feature produced counterintuitive behavior and confused users.
See discussion at #770 .
As pointed out by @tydeu, it is not too much work to write `Id.run <|`
before the `do` when we want to use the `do` notation in pure code.
closes #770
2021-12-10 12:55:14 -08:00