Sebastian Ullrich
|
9f90dbfd3d
|
feat(library/init/lean/parser/syntax): improve syntax.get_pos for more error positions
|
2019-01-22 11:16:00 +01:00 |
|
Sebastian Ullrich
|
69e363446d
|
fix(library/init/lean/{parser/term,elaborator}): local notations override previous notations
|
2019-01-20 16:25:15 +01:00 |
|
Sebastian Ullrich
|
3611eda136
|
fix(frontends/lean/vm_elaborator): message order
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
3d66e7dbe1
|
fix(library/pos_info_provider): row and column were swapped
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
5660a8e690
|
feat(library/init/lean/elaborator): transmit position information
|
2019-01-15 18:28:35 +01:00 |
|
Sebastian Ullrich
|
9ac41835ba
|
test(tests/lean/parser1): add some name resolution tests
|
2019-01-06 18:22:18 +01:00 |
|
Sebastian Ullrich
|
32a3c0e62e
|
feat(library/init/lean/frontend,bin/lean-bootstrapped): expose new frontend as executable
|
2018-12-20 14:28:18 +01:00 |
|
Sebastian Ullrich
|
0911d16bc3
|
feat(library/init/lean): compute and show error positions
|
2018-12-20 14:28:18 +01:00 |
|
Sebastian Ullrich
|
11e5d1a8a2
|
chore(tests/lean/parser1): reintroduce #exit in front of core.lean test
|
2018-12-06 13:23:25 +01:00 |
|
Sebastian Ullrich
|
fd121f03bd
|
feat(library/init/lean/expander): make set of transformers configurable
|
2018-11-21 18:13:38 +01:00 |
|
Leonardo de Moura
|
c0ac39f7f0
|
chore(tests/lean/parser1): fix test output
|
2018-11-12 08:53:57 -08:00 |
|
Sebastian Ullrich
|
090c4c0ce7
|
feat(library/init/lean/syntax): add lazily propagated macro scopes to syntax_node
|
2018-11-06 16:46:50 +01:00 |
|
Sebastian Ullrich
|
93fc1fd1de
|
fix(library/init/lean/parser/combinators): node: do not wrap error in first argument
|
2018-10-30 17:43:05 +01:00 |
|
Leonardo de Moura
|
139414b995
|
chore(tests/lean/parser1): update expected output
cc @kha
|
2018-10-23 11:32:56 -07:00 |
|
Sebastian Ullrich
|
758d258210
|
fix(library/init/lean/parser/term): rename term.ident to ident_univs to remove confusion with ident
`protected` didn't do anything here
|
2018-10-13 08:11:36 -07:00 |
|
Sebastian Ullrich
|
22714b9b10
|
perf(library/init/lean/parser/combinators): node: no need to fill up with syntax.missing anymore
Views now do iterated pattern matches instead of a single one
|
2018-10-04 14:27:24 -07:00 |
|
Sebastian Ullrich
|
959948b901
|
feat(library/init/lean): even more core.lean progress
|
2018-10-03 16:00:08 -07:00 |
|
Sebastian Ullrich
|
097b7be14f
|
refactor(library/init/lean/parser/token): change raw view type to option syntax_atom and create raw_str to give some raw parsers view defaults
|
2018-10-02 14:55:28 -07:00 |
|
Sebastian Ullrich
|
5596eea27b
|
test(tests/lean/parser1): deactivate core.lean test
|
2018-10-01 14:38:30 -07:00 |
|
Sebastian Ullrich
|
b443006e8f
|
fix(library/init/lean/parser/syntax): reprint: do not concatenate choice contents
|
2018-10-01 09:02:39 -07:00 |
|
Sebastian Ullrich
|
945bf39e05
|
feat(library/init/lean): progress
|
2018-09-28 20:50:18 -07:00 |
|
Sebastian Ullrich
|
df278096c4
|
fix(library/init/lean): fixes fixes fixes
|
2018-09-28 13:08:25 -07:00 |
|
Sebastian Ullrich
|
63201c2a78
|
feat(library/init/lean/elaborator): add elaborator, elaborate notation and reserve notation
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
1f85d34153
|
chore(library/init/lean/parser/notation): remove old notation <numeric-literal> := ... syntax
|
2018-09-28 13:08:24 -07:00 |
|
Sebastian Ullrich
|
07901fcfcb
|
refactor(library/init/lean/parser/module): put prelude and imports into non-optional header parser to make the life of the elaborator and other consumers a bit easier
|
2018-09-26 13:20:07 -07:00 |
|
Sebastian Ullrich
|
377e256cc0
|
test(tests/lean/parser1): simple macro test
|
2018-09-25 18:37:43 -07:00 |
|
Sebastian Ullrich
|
1d01e81de8
|
refactor(library/init/lean/parser): do not construct final syntax tree independent from intermediate outputs
This makes sure we have a single consistent view of the file
|
2018-09-25 18:28:53 -07:00 |
|
Sebastian Ullrich
|
7f00149338
|
chore(tests/lean/parser1): fix test after rebase
|
2018-09-24 09:57:42 -07:00 |
|
Sebastian Ullrich
|
db0fc4a448
|
feat(library/init/lean/expander): very basic expander
|
2018-09-24 09:53:28 -07:00 |
|
Sebastian Ullrich
|
b859560a83
|
feat(library/init/lean/parser/term): @/@@ notation
|
2018-09-20 09:40:21 -07:00 |
|
Sebastian Ullrich
|
0a8d0a6870
|
feat(library/init/lean/parser/term): projection notation
|
2018-09-20 09:40:21 -07:00 |
|
Sebastian Ullrich
|
b8bd0cc5e6
|
feat(library/init/lean/parser/term): parentheses and tuples
|
2018-09-20 09:40:21 -07:00 |
|
Sebastian Ullrich
|
b7f7f257c5
|
feat(library/init/lean/parser/declaration): inductive, structure
|
2018-09-20 09:38:10 -07:00 |
|
Sebastian Ullrich
|
623a6603cb
|
feat(library/init/lean/parser/term): lambda, pi, arrow
|
2018-09-19 12:36:34 -07:00 |
|
Sebastian Ullrich
|
e3afe02786
|
feat(library/init/lean/parser/declaration): doc comments and axioms
|
2018-09-19 12:36:34 -07:00 |
|
Sebastian Ullrich
|
80e37aa8c5
|
chore(library/init/lean/parser): improve error messages
|
2018-09-19 12:36:34 -07:00 |
|
Sebastian Ullrich
|
1f239c9f2a
|
feat(library/init/lean/parser/syntax): pretty-print ident nodes
Painfully, because `ident.view` is not defined yet
|
2018-09-17 18:47:50 -07:00 |
|
Sebastian Ullrich
|
fa0148e5b8
|
feat(library/init/lean/parser): declarations and binders
|
2018-09-17 18:47:50 -07:00 |
|
Sebastian Ullrich
|
b95ba21702
|
chore(library/init/lean/parser): fix syntax_node_kind names
|
2018-09-14 16:33:04 -07:00 |
|
Sebastian Ullrich
|
0c3a1b07a5
|
chore(library/init/lean/parser/syntax): hide lean.parser prefix in syntax.to_format
|
2018-09-14 16:33:04 -07:00 |
|
Sebastian Ullrich
|
5e180cd170
|
feat(library/init/lean/parser/token): create structure-preserving syntax trees for identifiers
Also generalize `raw_symbol` to `raw`
|
2018-09-14 16:33:04 -07:00 |
|
Sebastian Ullrich
|
e6b5598d7b
|
chore(library/init/lean/parser/term): actually remove Type*
|
2018-09-13 16:38:40 -07:00 |
|
Sebastian Ullrich
|
98e09c274f
|
feat(library/init/lean/parser/{pratt,level}): factor out pratt combinator, implement level parsers
|
2018-09-13 16:38:40 -07:00 |
|
Sebastian Ullrich
|
af55cb13e7
|
fix(library/messages,library/init/lean/message): wrap message_log in structure, reverse in the end
|
2018-09-11 13:55:25 -07:00 |
|
Sebastian Ullrich
|
0d865b37dd
|
feat(library/init/lean/{message,parser}): enhance lean.message
Small regression: order of messages flipped, should eventually be sorted by
position
|
2018-09-08 18:37:58 -07:00 |
|
Sebastian Ullrich
|
93d13ffea3
|
chore(library/init/lean): lean.parser.reader ~> lean.parser
|
2018-08-30 16:34:47 -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
|
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
|
12f2831f9f
|
test(tests/lean/parser1): add parser tests
|
2018-04-28 15:58:50 -07:00 |
|
Leonardo de Moura
|
9f06cd553e
|
test(lean): remove tests using Lean old syntax and kernel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 10:38:53 -07:00 |
|