Commit graph

33954 commits

Author SHA1 Message Date
larsk21
d50c08360d feat: change error flag to progress kind in LeanFileProgressProcessingInfo 2021-12-15 13:00:05 +01:00
larsk21
dcbc526115 feat: report header processing errors as error progress 2021-12-15 13:00:05 +01:00
larsk21
925c530673 feat: add error field to LeanFileProgressProcessingInfo 2021-12-15 13:00:05 +01:00
Siddharth
37982c6d5c
doc: structure update
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2021-12-15 11:48:46 +00:00
Gabriel Ebner
230d6d2cf5 fix: use group for if-then-else 2021-12-15 11:42:38 +00:00
Gabriel Ebner
202fd1414a chore: update stage0 2021-12-15 11:42:38 +00:00
Gabriel Ebner
d6f629860b feat: add ppRealFill and ppRealGroup combinators 2021-12-15 11:42:38 +00:00
Gabriel Ebner
b905824024 chore: fix tests 2021-12-15 11:42:38 +00:00
Gabriel Ebner
ab3e08190b feat: allow opt-out of grouping in formatter 2021-12-15 11:42:38 +00:00
Gabriel Ebner
b6efece612 fix: missing space after /-- 2021-12-15 11:42:38 +00:00
Gabriel Ebner
4f81972996 fix: missing newline before inductionAlt 2021-12-15 11:42:38 +00:00
Gabriel Ebner
f1fc8f2441 fix: space before where/:= in inductive 2021-12-15 11:42:38 +00:00
Gabriel Ebner
7be0d7ec16 fix: space before $ 2021-12-15 11:42:38 +00:00
Gabriel Ebner
3f73442a5a fix: space before infer modifiers 2021-12-15 11:42:38 +00:00
Gabriel Ebner
b176efefca fix: print line before deriving 2021-12-15 11:42:38 +00:00
Gabriel Ebner
5d25df1a69 fix: indenting of match arms in declValEqns 2021-12-15 11:42:38 +00:00
Gabriel Ebner
067c181075 fix: space after @& 2021-12-15 11:42:38 +00:00
Gabriel Ebner
e1b2c945e3 fix: suppress extra spaces in formatter 2021-12-15 11:42:38 +00:00
Gabriel Ebner
2b7ec7f9ef fix: spacing around (← monadic lifts) 2021-12-15 11:42:38 +00:00
Gabriel Ebner
52b36cad1d fix: whitespace around parens in open/export 2021-12-15 11:42:38 +00:00
Gabriel Ebner
87faa7a93a fix: whitespace after rw/simp [<- 2021-12-15 11:42:38 +00:00
Gabriel Ebner
f219188c95 fix: indent declaration signatures 2021-12-15 11:42:38 +00:00
Gabriel Ebner
e90bdd00db fix: indent where definitions and add space before 2021-12-15 11:42:38 +00:00
Gabriel Ebner
f5a2562575 fix: indent structure fields 2021-12-15 11:42:38 +00:00
Gabriel Ebner
316fa81042 fix: print spaces around <| and |> 2021-12-15 11:42:38 +00:00
Gabriel Ebner
f1d583c9cf fix: newline in whereDecls 2021-12-15 11:42:38 +00:00
Gabriel Ebner
448d2cd951 feat: add script to reformat lean files 2021-12-15 11:42:38 +00:00
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