Leonardo de Moura
|
61274c7d35
|
feat(library/init/data/char): use uint32 instead of nat for defining char
|
2019-02-15 18:07:55 -08:00 |
|
Leonardo de Moura
|
89afabae29
|
refactor(library/init/lean/parser/parsec): make sure custom error message doesn't need to be inhabited
|
2018-10-21 10:57:23 -07:00 |
|
Sebastian Ullrich
|
f29d886c29
|
fix(library/init/lean/parser/string_literal): letter escapes
|
2018-10-16 22:43:30 +02:00 |
|
Sebastian Ullrich
|
8a88d4d5e2
|
feat(library/init/lean/parser/token): string literals
hard-coded for now because we do not have general support for variable-length
tokens yet
|
2018-10-13 08:11:36 -07:00 |
|
Leonardo de Moura
|
afd54039ab
|
chore(library): remove >>, we should use *>
|
2018-09-12 17:31:21 -07:00 |
|
Leonardo de Moura
|
9e305a5f26
|
chore(library): remove return, we should use pure
|
2018-09-12 16:51:11 -07:00 |
|
Sebastian Ullrich
|
2823bebd23
|
refactor(library/init/lean/parser/parsec): message.pos: replace with iterator
This allows efficient recovery from a parse error as well as implementing
`has_to_string` for `message`
|
2018-07-30 10:38:00 -07:00 |
|
Sebastian Ullrich
|
65fd050b83
|
feat(library/init/lean/parser/parsec): add custom error message type
|
2018-07-27 14:29:50 -07:00 |
|
Sebastian Ullrich
|
72b255d4e1
|
chore(library/init/lean/parser/parser_t): rename module and type to parsec to avoid nested use of parser
|
2018-07-12 10:35:20 +02:00 |
|
Sebastian Ullrich
|
7ae87705c2
|
feat(library/init/lean/parser/parser_t): introduce monad_parser
|
2018-06-15 17:48:20 +02:00 |
|
Leonardo de Moura
|
1bae8f8eab
|
refactor(library/init/lean/ir/parser): parser.lean => parser_t.lean
|
2018-06-05 08:00:13 -07:00 |
|
Sebastian Ullrich
|
0f7c0ac8bf
|
feat(init/lean/parser/parser): make a monad transformer
Also move parser combinators into the more specific namespace `init.lean.parser.parser_t`.
|
2018-06-04 12:57:23 +02:00 |
|
Leonardo de Moura
|
619394f3da
|
feat(library/init/lean/parser/string): parser for string literals
|
2018-05-01 16:17:16 -07:00 |
|