Sebastian Ullrich
|
7410d00678
|
feat: Subarray.findRev?
|
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
|
260387d626
|
chore: update stage0
|
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 |
|
tydeu
|
837eec5d9a
|
feat: add buildO helper
closes leanprover/lake#126
|
2022-11-10 20:48:05 -05:00 |
|
tydeu
|
8e6abd7c56
|
doc: add --old to lake help
|
2022-11-10 20:48:05 -05:00 |
|
tydeu
|
ddd7581ee4
|
refactor: lean_packages -> lake-packages + cleanup
|
2022-11-10 20:48:04 -05:00 |
|
tydeu
|
855a655033
|
refactor: split actions requiring load into separate file
see 1bd8430c15 (r82430947)
|
2022-11-10 20:48:03 -05:00 |
|
tydeu
|
0bf59a5921
|
feat: library defaultFacets setting
closes leanprover/lake#117
|
2022-11-10 20:48:02 -05:00 |
|
tydeu
|
d3d526d43f
|
test: make FFI example builds verbose
|
2022-11-10 20:46:57 -05:00 |
|
tydeu
|
0b1d2956a4
|
refactor: change manifest file path
closes leanprover/lake#111
|
2022-11-10 20:46:57 -05:00 |
|
Mario Carneiro
|
9544a0572e
|
fix: remove #check
|
2022-11-10 20:46:55 -05:00 |
|
tydeu
|
f40dbbcf02
|
chore: remove verbosity from LoadConfig
|
2022-11-10 20:46:55 -05:00 |
|
tydeu
|
fc65f6e73e
|
chore: start next Lake version
|
2022-11-10 20:46:54 -05:00 |
|
Leonardo de Moura
|
ca0fb21df4
|
fix: fixes #1813
Remark: modifies the value for the `mid` priority.
See new note at `Init/Notation.lean`
|
2022-11-10 16:09:21 -08:00 |
|
Leonardo de Moura
|
723b87ad63
|
chore: fix build
Incorrect assertion in the old code generator has been exposed by new test.
|
2022-11-10 15:27:43 -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
|
5eaa0fa2df
|
chore: leftovers
|
2022-11-09 17:03:08 -08:00 |
|
Leonardo de Moura
|
7b8ade5ee4
|
test: String.get' and String.next'
|
2022-11-09 17:02:49 -08:00 |
|
Leonardo de Moura
|
afa567fc09
|
chore: update stage0
|
2022-11-09 16:58:52 -08:00 |
|
Leonardo de Moura
|
4f07c46956
|
fix: bug at lean_string_utf8_get_fast
|
2022-11-09 16:58:20 -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 |
|
Leonardo de Moura
|
3e33fcc4f8
|
chore: use lean_string_utf8_next_fast
|
2022-11-09 12:06:37 -08:00 |
|
Leonardo de Moura
|
ab59cce346
|
chore: update stage0
|
2022-11-09 12:04:58 -08:00 |
|
Leonardo de Moura
|
92c03c0050
|
perf: prepare do add String.next'
|
2022-11-09 12:00:31 -08:00 |
|
Leonardo de Moura
|
20eeb4202f
|
perf: fast String.get' without runtime bounds check
TODO: naming convention `String.get'` should be called `String.get`,
and we should rename the old `String.get`
|
2022-11-09 12:00:30 -08:00 |
|
Adrien Champion
|
33aa1724f2
|
fix: rewrite by with strict indentation in a few struct-fields
|
2022-11-08 08:30:42 -08:00 |
|
Adrien Champion
|
1823735ebf
|
chore: tests for strict-indent nested by-s
|
2022-11-08 08:30:42 -08:00 |
|
Adrien Champion
|
5849fdc6c9
|
feat: require strict indentation on nested by-s
|
2022-11-08 08:30:42 -08:00 |
|
github-actions[bot]
|
d7636694a8
|
doc: update changelog
|
2022-11-08 16:29:53 +00:00 |
|
Mario Carneiro
|
4bf89dfa12
|
feat: allow doSeq in let x <- e | seq
fixes #1804
|
2022-11-08 08:29:21 -08:00 |
|
Sebastian Ullrich
|
9f2182fdd9
|
chore: update script/apply.lean semantics
|
2022-11-07 19:47:04 -08:00 |
|
Sebastian Ullrich
|
5be816244e
|
chore: update script/apply.lean syntax
|
2022-11-07 19:47:04 -08:00 |
|
Leonardo de Moura
|
95df68f3e4
|
chore: [elab_as_elim] at Eq.substr
Lean 3 compatibility issue.
see #1806
|
2022-11-07 19:44:11 -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 |
|
Leonardo de Moura
|
65caa8f2c4
|
chore: update stage0
|
2022-11-07 18:20:48 -08:00 |
|