Sebastian Ullrich
|
61f8ebf4ef
|
refactor(library/init/lean/parser/reader): destructure reader into monad and has_tokens typeclass
|
2018-08-23 10:38:59 -07:00 |
|
Sebastian Ullrich
|
6dbe54a01b
|
chore(library/init/io): rename io.print_ln to io.println
|
2018-08-21 08:43:10 -07:00 |
|
Sebastian Ullrich
|
6b55e24ab7
|
feat(library/init/{io,control/except}): use lift_t to automatically upcast io and other errors
|
2018-08-21 08:43:09 -07:00 |
|
Sebastian Ullrich
|
9db688f4c2
|
fix(library/{vm/vm_io,init/io}): fix bugs and tests
|
2018-08-21 08:43:09 -07:00 |
|
Sebastian Ullrich
|
37e5f03351
|
refactor(library/system/io): move into init
|
2018-08-21 08:43:09 -07:00 |
|
Sebastian Ullrich
|
bf043ab8bd
|
feat(library/init/lean/parser/reader/basic): first has_view prototype, plus prefix ~> notation expansion based on it
|
2018-08-02 20:35:15 -07:00 |
|
Sebastian Ullrich
|
87dc8adbe6
|
fix(library/init/lean/parser/parsec): monad_except.catch should not reset position, consumed flag
|
2018-07-30 17:50:37 -07:00 |
|
Sebastian Ullrich
|
8666047703
|
feat(library/init/lean/parser/reader/module): reserve, mixfix, universe commands
|
2018-07-30 17:30:20 -07:00 |
|
Sebastian Ullrich
|
1c2ca922af
|
test(tests/lean/reader1): test for perfect roundtripping
|
2018-07-30 17:30:20 -07:00 |
|
Sebastian Ullrich
|
312de57aec
|
test(tests/lean/reader1): test error recovery and fix bug
|
2018-07-30 17:30:20 -07:00 |
|
Sebastian Ullrich
|
0fd9d29ba2
|
feat(library/init/lean/parser/reader/module): command-level error recovery
|
2018-07-30 10:38:00 -07:00 |
|
Sebastian Ullrich
|
3728b2ba3f
|
feat(library/init/lean/parser/reader/basic): add error list handling
|
2018-07-30 10:38:00 -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
|
10b18e77a1
|
feat(library/init/lean/parser/reader/basic): combinators: create partial syntax trees
|
2018-07-27 16:19:02 -07:00 |
|
Sebastian Ullrich
|
1c561726de
|
feat(library/init/lean/parser/reader/module): basic notation command
|
2018-07-18 17:45:37 +02:00 |
|
Sebastian Ullrich
|
8444a7412e
|
feat(library/init/lean/parser/reader/basic): add a small monad transformer for managing recursion and use it to implement recursive section parsing
|
2018-07-16 18:39:23 +02:00 |
|
Sebastian Ullrich
|
5b55600e71
|
feat(library/init/lean/parser/reader/module): open command
|
2018-07-16 12:38:27 +02:00 |
|
Sebastian Ullrich
|
09a0397648
|
fix(library/init/lean/parser/reader/token): fix keyword parsing using longest_match
|
2018-07-13 15:51:48 +02:00 |
|
Sebastian Ullrich
|
6fa4e56fbe
|
feat(library/init/lean/parser/syntax): add and test reprinter
|
2018-07-11 14:34:50 +02:00 |
|
Sebastian Ullrich
|
ab19966d65
|
feat(library/init/lean/parser/reader): automatically promote tokens through readers
|
2018-07-05 18:01:17 +02:00 |
|
Sebastian Ullrich
|
fbdb73665f
|
test(tests/lean/reader1): start testing the tokenizer on core.lean and fix a comment bug
|
2018-07-05 16:51:48 +02:00 |
|
Sebastian Ullrich
|
6b6c16b6d6
|
chore(library/init/lean/parser/reader/module): remove theory command
We plan to allow `noncomputable`, as well as more modifiers, on `namespace/section`
|
2018-07-05 10:42:52 +02:00 |
|
Sebastian Ullrich
|
8ef87818ce
|
feat(library/init/lean/parser/reader): implement basic tokenizer
|
2018-07-05 10:42:37 +02:00 |
|
Sebastian Ullrich
|
70970ce5e0
|
feat(library/init/lean/parser/reader): add simplistic implementation of a tiny initial part of the Lean reader
Maybe 'reader' isn't the best name.
|
2018-06-18 19:23:58 +02:00 |
|