Henrik Böving
|
66009a5cd3
|
feat: constant folding for decision procedures
|
2022-11-16 08:17:13 -08:00 |
|
Henrik Böving
|
5a397c8525
|
feat: ElimDeadBranches for LCNF
|
2022-11-16 08:17:13 -08:00 |
|
Mario Carneiro
|
118d1027d2
|
feat: go to definition for KeyedDeclsAttributes
|
2022-11-16 11:16:24 +01:00 |
|
Mario Carneiro
|
2184533236
|
fix: attribute info nesting
|
2022-11-16 11:12:24 +01:00 |
|
Leonardo de Moura
|
98922b878a
|
fix: fixes #1815
|
2022-11-15 17:08:54 -08:00 |
|
Leonardo de Moura
|
8225be2f0e
|
feat: ensure projections are not reducing at DiscrTree V (simpleReduce := true)
Now, the `simp` discrimination tree does not perform `iota` nor reduce
projections.
|
2022-11-15 16:47:12 -08:00 |
|
Leonardo de Moura
|
1b0c2f7157
|
feat: parameterize DiscrTree indicating whether non trivial reductions are allowed or not when indexing/retrieving terms
|
2022-11-15 16:47:12 -08:00 |
|
Leonardo de Moura
|
81c84bf045
|
feat: do not perform iota reduction at the discrimination tree module
|
2022-11-15 16:47:12 -08:00 |
|
Gabriel Ebner
|
75aa732af5
|
doc: mention ignoreLevelMVarDepth
|
2022-11-15 11:29:26 -08:00 |
|
Leonardo de Moura
|
1cc58e60ef
|
fix: fixes #1829
|
2022-11-15 08:31:36 -08:00 |
|
Sebastian Ullrich
|
3d1ff59f11
|
fix: parseImports': respect prelude
|
2022-11-15 07:40:10 -08:00 |
|
Sebastian Ullrich
|
e3b83625f2
|
perf: optimize --deps --json
|
2022-11-15 07:40:10 -08:00 |
|
Sebastian Ullrich
|
4cd5b67271
|
chore: generalize parser kind detection
|
2022-11-14 12:53:18 +01:00 |
|
Mario Carneiro
|
73a8dc9738
|
feat: add decl links for Quot via add_decl_doc
|
2022-11-14 09:54:56 +01:00 |
|
Mario Carneiro
|
2cb333a260
|
feat: elab_rules : conv
|
2022-11-13 21:09:26 -08:00 |
|
Leonardo de Moura
|
5654d8465d
|
fix: fixes #1822
|
2022-11-13 18:13:29 -08:00 |
|
Leonardo de Moura
|
a87f0e25de
|
feat: add compiler.checkTypes for sanity checking
|
2022-11-13 17:45:21 -08:00 |
|
Leonardo de Moura
|
854e655940
|
chore: document implementedBy := true use at phase 1
|
2022-11-13 15:47:13 -08:00 |
|
Leonardo de Moura
|
c3d86001c4
|
chore: simplify dependencies at MatchEqs
|
2022-11-11 05:51:05 -08:00 |
|
Sebastian Ullrich
|
1f447efa54
|
doc: update Lean.Parser.Basic
|
2022-11-11 14:17:21 +01:00 |
|
Sebastian Ullrich
|
7cdd8f81d7
|
refactor: simplify withCacheFn
|
2022-11-11 14:07:15 +01:00 |
|
Sebastian Ullrich
|
43767f8f35
|
fix: uncacheable syntax stack access in doIf
|
2022-11-11 13:45:41 +01:00 |
|
Sebastian Ullrich
|
4c11743f4b
|
refactor: split paren parser, part 2
|
2022-11-11 13:45:41 +01:00 |
|
Sebastian Ullrich
|
791fc70dd9
|
refactor: split paren parser
|
2022-11-11 13:45:41 +01:00 |
|
Sebastian Ullrich
|
30dd28480d
|
fix: suppressInsideQuot inside quotation
|
2022-11-11 13:45:41 +01:00 |
|
Sebastian Ullrich
|
0dea086669
|
fix: reset lhsPrec, errorMsg in withCacheFn
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
22510db004
|
refactor: simplify parser code using withFn
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
e7bf1cd3dc
|
refactor: simplify adaptUncacheableContextFn
compiler.ir.result reports 0 allocations on happy path
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
fb941d0827
|
fix: ensure parser caching is sound re. syntax stack accesses
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
12b267bd8c
|
refactor: categoryParserOfStack is dead
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
17782fba1a
|
fix: replace broken ptrEq cache sanity checks with private ParserContext constructor
The context is now manipulated using `adaptCacheableContext` and `adaptUncacheableContext`
and created using `ParserFn.run`.
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
d5255e94e8
|
perf: improve dynamicQuot caching
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
d3f7d0350f
|
refactor: move parser types into separate file
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
9a4626c495
|
fix: must cache stack of parser evals
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
36189cb51a
|
chore: simplify parser cache key computation, panic on environment/token table divergence
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
ed03ff9d00
|
perf: cache leading_parser and syntax as well
We better hope the `leading_parser`s are closed terms
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
da6efe1bca
|
fix: make parser caching sound (I hope?)
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
35509b5e98
|
refactor: more sensible ordering of declarations in Lean.Parser.Basic
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
246923886a
|
fix: do not create choice nodes for failed parses
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
57320712f0
|
fix: extraneous missing items on parser stack
|
2022-11-11 09:13:02 +01:00 |
|
Sebastian Ullrich
|
7e193a45ce
|
perf: cache category parses
|
2022-11-11 09:13:02 +01:00 |
|
Leonardo de Moura
|
8030aed56e
|
fix: fixes #1814
Missing `hasAssignableMVar` checks.
|
2022-11-10 20:42:02 -08:00 |
|
Leonardo de Moura
|
c147059fd7
|
fix: fixes #1812
|
2022-11-10 08:58:09 -08:00 |
|
Leonardo de Moura
|
9b02f982e2
|
chore: add ppCode'
|
2022-11-10 08:07:35 -08:00 |
|
Leonardo de Moura
|
2386c401d2
|
chore: use String.get' and String.next' at Parser/Basic.lean
This commit also cleans up old frontend legacy.
|
2022-11-09 17:06:22 -08:00 |
|
Leonardo de Moura
|
1704debcd0
|
perf: add parseImports'
Faster version of `parserImports` for Lake
|
2022-11-09 14:50:11 -08:00 |
|
Leonardo de Moura
|
69bd25af4f
|
chore: add Repr and Inhabited instances for Import
|
2022-11-09 14:35:57 -08:00 |
|
Adrien Champion
|
5849fdc6c9
|
feat: require strict indentation on nested by-s
|
2022-11-08 08:30:42 -08:00 |
|
Mario Carneiro
|
4bf89dfa12
|
feat: allow doSeq in let x <- e | seq
fixes #1804
|
2022-11-08 08:29:21 -08:00 |
|
Leonardo de Moura
|
b4d13a8946
|
refactor: LetExpr => LetValue
We use "let value" in many other places in the code base.
|
2022-11-07 18:51:07 -08:00 |
|