Commit graph

29365 commits

Author SHA1 Message Date
Sebastian Ullrich
a69d7fb018 fix: remove broken Handle.isEof 2022-08-26 20:55:09 -07:00
Sebastian Ullrich
d23c19884b doc: read/getLine EOF behavior 2022-08-26 20:55:09 -07:00
Sebastian Ullrich
af7f5aa2a0 feat: dbgStackTrace 2022-08-26 20:52:51 -07:00
E.W.Ayers
f52a1bd37c doc: JSON-RPC 2022-08-26 20:49:57 -07:00
E.W.Ayers
4ea4365354 doc: various String docstrings 2022-08-26 20:49:57 -07:00
E.W.Ayers
3aeb3db3b5 doc: Char/Basic.lean 2022-08-26 20:49:57 -07:00
E.W.Ayers
5611620d3a dov: explanation of why pointers aren't sound. 2022-08-26 20:49:57 -07:00
E.W.Ayers
152d441a4c doc: note that Float.beq is not refl 2022-08-26 20:49:57 -07:00
Leonardo de Moura
969dce70db perf: improve FVarSubst apply functions in the new compiler stack 2022-08-26 20:10:36 -07:00
Mario Carneiro
d875f43b52 chore: remove outdated TODO 2022-08-26 15:31:13 -07:00
Mario Carneiro
ee22e637cd fix: use withContext at ac_rfl 2022-08-26 15:23:24 -07:00
E.W.Ayers
ff792c3a3a feat: abstract visitLet, visitLambda, visitForall 2022-08-25 19:09:16 -07:00
E.W.Ayers
d18667c484 feat: generalise forEachExpr
Lean.Meta.forEachExpr should be general over monads rather than restricted to the MetaM monad.
This is similar to the generalisation of Lean.Meta.transform
2022-08-25 19:09:16 -07:00
Sebastian Ullrich
e81ba951c6 fix: Core.transform API and uses 2022-08-25 19:07:42 -07:00
Fynn Schmitt-Ulms
064ab16791
feat: Float.abs function (#1514) 2022-08-25 18:45:46 -07:00
Leonardo de Moura
65f9344f01 feat: check whether join points are fully applied at Check.lean 2022-08-25 18:17:54 -07:00
Leonardo de Moura
14944aeb3c chore: print decl size at trace message 2022-08-25 18:11:49 -07:00
Leonardo de Moura
4c9c2d2bf7 feat: new CSE.lean 2022-08-25 18:08:22 -07:00
Leonardo de Moura
98575b4250 feat: new PullLetDecls.lean 2022-08-25 13:39:15 -07:00
pcpthm
bc9c14a080 fix: remove duplicate OfNat Int instance 2022-08-25 11:57:13 -07:00
Gabriel Ebner
90f92c3a9e fix: use delabAppExplicit for tooltips 2022-08-25 18:38:21 +02:00
Gabriel Ebner
a6a913495d feat: make (_ : a = b) hoverable in infoview 2022-08-25 18:38:21 +02:00
Gabriel Ebner
82e9f09bca fix: remove incorrect syntax coercion 2022-08-25 17:54:26 +02:00
Richard Musiol
d4799eaf3a doc: fix typo 2022-08-24 21:59:15 -07:00
Gabriel Ebner
8fc3bae47c chore: remove unexpanded coercion support from pp.analyze 2022-08-24 21:58:13 -07:00
Leonardo de Moura
3b4862e1a7 feat: add LCNF/DependsOn.lean 2022-08-24 21:56:10 -07:00
Leonardo de Moura
4e8b4e96e9 feat: simplify LCtx 2022-08-24 14:16:26 -07:00
Leonardo de Moura
85866fc238 chore: fix and disable some LCNF tests
We still need to port code to the new architecture
2022-08-24 14:12:27 -07:00
Leonardo de Moura
9b28878615 fix: AltCore.inferType 2022-08-24 14:05:25 -07:00
Leonardo de Moura
8102e1e31b fix: jp case at check 2022-08-24 11:50:00 -07:00
Leonardo de Moura
3a2758a59b refactor: new LCNF frontend 2022-08-24 11:40:37 -07:00
Leonardo de Moura
cabcadf9cc feat: add ppDecl 2022-08-24 08:41:45 -07:00
Leonardo de Moura
f2f3a72196 feat: add ToDecl.lean 2022-08-24 08:31:38 -07:00
Leonardo de Moura
6e068bebd1 feat: LCNF pretty printer 2022-08-24 08:16:00 -07:00
Leonardo de Moura
54e4cfa8e2 chore: doc string 2022-08-24 06:55:51 -07:00
Leonardo de Moura
083523ee9c feat: att new LCNF/toLCNF.lean 2022-08-23 20:21:06 -07:00
Leonardo de Moura
3e2f8c61ec feat: helper LCNF functions 2022-08-23 19:37:33 -07:00
Leonardo de Moura
cd49e564cf chore: add LCNF/Util.lean 2022-08-23 19:35:11 -07:00
Leonardo de Moura
f5415b2f81 feat: add Decl.check 2022-08-23 13:11:42 -07:00
Leonardo de Moura
bce7eadfbc feat: add LCNF/Check.lean 2022-08-23 08:50:59 -07:00
Leonardo de Moura
766afdd0bc feat: store FunDecls at LCNF local context 2022-08-22 21:46:37 -07:00
Leonardo de Moura
82acc2b39c feat: improve Code.bind
Add `joinTypes`.
2022-08-22 21:07:36 -07:00
Leonardo de Moura
1f57155eb9 feat: add Code.bind concatenating LCNF code blocks 2022-08-22 20:17:52 -07:00
Leonardo de Moura
a2fabc6d49 feat: inferType for new LCNF 2022-08-22 19:51:17 -07:00
Leonardo de Moura
bd1186536f feat: LCNF to Expr translator 2022-08-22 17:59:27 -07:00
Leonardo de Moura
b2c2d49bae feat: new CompilerM for LCNF 2022-08-22 17:52:04 -07:00
Leonardo de Moura
92d157f705 feat: local context for LCNF 2022-08-22 16:57:12 -07:00
Leonardo de Moura
e1ae11a708 refactor: copy LCNFTypes.lean to LCNF/Types.lean
The old file is going to be deleted after we complete the refactor.
2022-08-22 16:56:15 -07:00
Leonardo de Moura
9ed83e23ae feat: dead code eliminator for the new LCNF structure 2022-08-22 16:30:37 -07:00
Leonardo de Moura
18f3af302b feat: new datastructure for representing LCNF code 2022-08-22 16:25:11 -07:00