Sebastian Ullrich
|
f0dad079ad
|
fix: checkWsBefore.formatter
|
2020-10-07 10:01:17 +02:00 |
|
Sebastian Ullrich
|
064c9b2e0b
|
chore: binder spacing
|
2020-10-07 09:46:47 +02:00 |
|
Sebastian Ullrich
|
6c25717377
|
test: can finally reparse pretty-printed Core.lean
|
2020-10-07 09:46:47 +02:00 |
|
Sebastian Ullrich
|
69fe4c7338
|
fix: formatter: must backtrack on symbols as well
|
2020-10-07 09:46:47 +02:00 |
|
Sebastian Ullrich
|
21f1a66ceb
|
feat: add & use ppDedent parser combinator
|
2020-10-07 09:46:47 +02:00 |
|
Sebastian Ullrich
|
b1e35d6ca9
|
fix: ppGroup
|
2020-10-07 09:44:05 +02:00 |
|
Sebastian Ullrich
|
88164a5e91
|
feat: more pp tweaks
|
2020-10-07 09:44:05 +02:00 |
|
Sebastian Ullrich
|
e777478aa1
|
fix: Formatter.pushLine
|
2020-10-07 09:44:05 +02:00 |
|
Sebastian Ullrich
|
3030c1ef7a
|
fix: Format.merge
|
2020-10-07 09:44:04 +02:00 |
|
Sebastian Ullrich
|
02001971c6
|
feat: Format: allow negative indentation to cancel out undesired automatic indentation
|
2020-10-07 09:44:04 +02:00 |
|
Sebastian Ullrich
|
5d76a981b0
|
chore: adjust pp spacing
|
2020-10-07 09:44:04 +02:00 |
|
Sebastian Ullrich
|
bdff53fdf5
|
feat: use ppLine
|
2020-10-07 09:43:05 +02:00 |
|
Sebastian Ullrich
|
98b3251fd3
|
feat: Format.pretty: support hard line breaks
|
2020-10-07 09:43:05 +02:00 |
|
Sebastian Ullrich
|
c3ebb6ad1f
|
fix: Format.group ignored preceding content on line
|
2020-10-07 09:43:05 +02:00 |
|
Sebastian Ullrich
|
31a2761bec
|
perf: make Format.group a constructor, flatten on the fly
|
2020-10-07 09:43:05 +02:00 |
|
Sebastian Ullrich
|
7154c2380b
|
refactor: simplify Format.SpaceResult
|
2020-10-07 09:43:05 +02:00 |
|
Leonardo de Moura
|
2fda7f4f9f
|
chore: add TODO
|
2020-10-06 19:12:08 -07:00 |
|
Leonardo de Moura
|
294a750110
|
feat: expand doMatch
|
2020-10-06 19:07:47 -07:00 |
|
Leonardo de Moura
|
f4ccb78014
|
feat: improve tryPureCoe? and document its limitations
|
2020-10-06 17:41:45 -07:00 |
|
Leonardo de Moura
|
608ae62aef
|
chore: use pure
We are planning to change the meaning of `return`
|
2020-10-06 15:53:53 -07:00 |
|
Leonardo de Moura
|
cda4de474b
|
fix: weird error message in do notation
cc @Kha
|
2020-10-06 15:12:55 -07:00 |
|
Leonardo de Moura
|
db1b110f7e
|
fix: use let* to avoid bad error messages in do notation
cc @Kha
|
2020-10-06 15:01:05 -07:00 |
|
Leonardo de Moura
|
d124718b05
|
feat: elaborate let*
|
2020-10-06 14:48:46 -07:00 |
|
Leonardo de Moura
|
43d2da433d
|
chore: update stage0
|
2020-10-06 14:44:50 -07:00 |
|
Leonardo de Moura
|
db5fdd15c4
|
feat: add let* parser and add some support for it at Binders.lean
|
2020-10-06 14:42:47 -07:00 |
|
Leonardo de Moura
|
82dad3c86f
|
feat: add Code.returnAction
|
2020-10-06 13:19:55 -07:00 |
|
Leonardo de Moura
|
5110b1212d
|
test: do notation error messages
|
2020-10-06 11:35:44 -07:00 |
|
Leonardo de Moura
|
13591e59d5
|
chore: improve regular 'for' error message
|
2020-10-06 11:30:14 -07:00 |
|
Leonardo de Moura
|
760b658d19
|
chore: suppress extraMsg in type mismatch errors
|
2020-10-06 10:58:50 -07:00 |
|
Leonardo de Moura
|
0ce6ac4267
|
chore: fix error messages
|
2020-10-06 10:52:04 -07:00 |
|
Leonardo de Moura
|
7f5b454382
|
chore: improve for type mismatch error message
|
2020-10-06 10:50:03 -07:00 |
|
Leonardo de Moura
|
5cabc917f5
|
chore: improve error message
|
2020-10-06 10:45:12 -07:00 |
|
Leonardo de Moura
|
74e5bf2539
|
feat: add elabEnsureExpectedType
|
2020-10-06 09:39:16 -07:00 |
|
Leonardo de Moura
|
4f59ce2fbd
|
chore: update stage0
|
2020-10-06 09:32:26 -07:00 |
|
Leonardo de Moura
|
ef2d9b4d59
|
feat: add ensureExpectedType! parser
|
2020-10-06 09:31:21 -07:00 |
|
Leonardo de Moura
|
3a426d96e7
|
feat: custom error message header at elabTermEnsuringType
This commit also improves `ensureTypeOf!` primitive.
|
2020-10-06 09:27:13 -07:00 |
|
Leonardo de Moura
|
653f1406d6
|
chore: remove workaround
|
2020-10-06 08:28:41 -07:00 |
|
Leonardo de Moura
|
514657123b
|
chore: update stage0
|
2020-10-06 08:28:41 -07:00 |
|
Leonardo de Moura
|
10fc908463
|
chore: use Tactic.seq1 instead of Tactic.tacticSeq1Indented
Reason: antiquotations.
|
2020-10-06 08:28:41 -07:00 |
|
Leonardo de Moura
|
71e6ab2a06
|
fix: evalTacticSeqBracketed and evalSeq1
|
2020-10-06 08:28:41 -07:00 |
|
Leonardo de Moura
|
76a8f17c4b
|
chore: update stage0
|
2020-10-06 08:28:41 -07:00 |
|
Leonardo de Moura
|
786b1a952c
|
chore: update stage0
|
2020-10-06 08:28:41 -07:00 |
|
Leonardo de Moura
|
c3b0e9936c
|
chore: group many elements
|
2020-10-06 08:28:40 -07:00 |
|
Leonardo de Moura
|
5c74c408ae
|
chore: remove nodeSepBy1Unbox combinator
|
2020-10-06 08:28:40 -07:00 |
|
Leonardo de Moura
|
e635196f32
|
chore: fix test
I added a temporary workaround. I will remove it later.
|
2020-10-06 08:28:13 -07:00 |
|
Leonardo de Moura
|
a71cc58d70
|
chore: update stage0
|
2020-10-06 07:28:21 -07:00 |
|
Leonardo de Moura
|
54bfc1e168
|
chore: add elabTacticQuotSeq
|
2020-10-06 07:27:31 -07:00 |
|
Leonardo de Moura
|
de161aba96
|
chore: update stage0
|
2020-10-06 07:23:30 -07:00 |
|
Leonardo de Moura
|
93dc94b3b0
|
chore: remove nodeSepBy1Unbox hack
|
2020-10-06 07:22:28 -07:00 |
|
Leonardo de Moura
|
0447966b72
|
chore: adjust elaborator to new syntax
|
2020-10-06 06:53:12 -07:00 |
|