Leonardo de Moura
|
5ffbada3df
|
feat: add Lean.MonadEnv, Lean.MonadError, and Lean.MonadOptions
This is the first set of polymorphic methods. I will add more later,
and keep reducing code duplication.
cc @Kha
|
2020-08-22 16:00:43 -07:00 |
|
Leonardo de Moura
|
916b395d1b
|
chore: cleanup
|
2020-08-21 09:29:09 -07:00 |
|
Sebastian Ullrich
|
5f30d62d9b
|
feat: [runParserAttributeHooks]
|
2020-08-21 16:38:41 +02:00 |
|
Sebastian Ullrich
|
14211cc932
|
refactor: more core
|
2020-08-21 15:51:37 +02:00 |
|
Leonardo de Moura
|
c55376a1ba
|
chore: more conventional MonadIO
|
2020-08-20 11:13:10 -07:00 |
|
Leonardo de Moura
|
68a4c145f7
|
refactor: implement attribute hooks using CoreM
We were using a mix of `IO` and `Except`
|
2020-08-19 14:44:54 -07:00 |
|
Sebastian Ullrich
|
eeaf20080c
|
refactor: register parenthesizer compiler as hook
/cc @leodemoura
|
2020-08-18 16:02:33 +02:00 |
|
Sebastian Ullrich
|
58e7af0d7f
|
chore: simplify parser attribute hook registration
It is unlikely to be needed outside the stdlib
|
2020-08-18 15:52:23 +02:00 |
|
Sebastian Ullrich
|
dab53c4986
|
feat: add [parserAttributeHook] attribute
|
2020-08-18 14:41:36 +02:00 |
|
Sebastian Ullrich
|
92162ffb7f
|
feat: check parenthesizer attribute arguments
|
2020-08-14 19:05:02 +02:00 |
|
Sebastian Ullrich
|
72310a4aee
|
fix: parenthesizer: ParserDescr.parsers should not be assumed to be a registered parser, or even one with a kind
|
2020-08-14 19:05:02 +02:00 |
|
Sebastian Ullrich
|
46f5670ba3
|
chore: Lean.Parser.Parser ~> Lean.Parser.Basic
|
2020-08-13 18:44:13 +02:00 |
|
Sebastian Ullrich
|
a0f825f67f
|
refactor: move Lean.PrettyPrinter.Parenthesizer in between Lean.Parser.Parser and Lean.Parser.Extension
|
2020-08-13 18:44:13 +02:00 |
|
Sebastian Ullrich
|
f7e004b44a
|
refactor: split Lean.Parser.Parser
|
2020-08-13 18:44:13 +02:00 |
|