Sebastian Ullrich
|
81615fc856
|
refactor(library/init/lean/parser/module): replace coroutines with explicit snapshot state
|
2019-03-07 10:32:28 -08:00 |
|
Sebastian Ullrich
|
430fb81f69
|
fix(library/init/lean/parser/term,frontends/lean/builtin_exprs): @& should have higher rbp than ->
|
2019-03-07 14:35:25 +01:00 |
|
Sebastian Ullrich
|
6f83faaee0
|
perf(library/init/lean/parser/command): index command parsers by first token
|
2019-03-07 11:28:42 +01:00 |
|
Sebastian Ullrich
|
cfce916438
|
perf(library/init/lean/parser/module): make sure commands_aux is tail-recursive
|
2019-03-06 13:58:26 +01:00 |
|
Sebastian Ullrich
|
85bc52b9f2
|
feat(library/init/lean/frontend): profile frontend
|
2019-03-06 11:08:38 +01:00 |
|
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 |
|
Sebastian Ullrich
|
dbc470d7e4
|
feat(library/init/lean/{parser/term,elaborator}): support @& borrowed annotations
|
2019-02-14 14:07:05 -08:00 |
|
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
|
814ceb43fe
|
fix(library/init/lean/parser/declaration): axiom, constant, what's the difference
|
2019-01-21 18:09:26 +01:00 |
|
Sebastian Ullrich
|
c22fbb5cde
|
feat(library/init/lean,frontends/lean/vm_elaborator): set_option
|
2019-01-20 18:21:41 +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
|
8cc35b854b
|
feat(library/init/lean/{expander,elaborator}): variable(s)
|
2019-01-17 17:06:52 +01:00 |
|
Sebastian Ullrich
|
13781ed114
|
feat(library/init/lean/parser/token): numeric literals of more exotic bases
|
2019-01-16 19:39:30 +01:00 |
|
Sebastian Ullrich
|
2c4b566038
|
feat(frontends/lean/vm_elaborator): implement equations
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
a6d5af7387
|
feat(library/init/lean/expander): expand class and class inductive
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
c17ba349f3
|
refactor(library/init/lean/parser/syntax): factor out syntax.(m)replace
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
d0062691de
|
feat(library/init/lean): implement init_quot
|
2019-01-15 15:06:51 +01:00 |
|
Sebastian Ullrich
|
fc3a0403ab
|
feat(library/init/lean/parser/declaration): implement structure field blocks that go beyond regular binder syntax
|
2019-01-15 15:00:34 +01:00 |
|
Sebastian Ullrich
|
fec4502e0f
|
feat(library/init/lean/parser/term): parse and expand sorry
|
2019-01-07 22:19:47 +01:00 |
|
Sebastian Ullrich
|
22d5d32387
|
feat(library/init/lean/elaborator): do name preresolution just before elaboration
|
2019-01-06 15:47:54 +01:00 |
|
Sebastian Ullrich
|
a1ecf14ebe
|
feat(library/init/lean/parser/syntax): syntax.to_format: show ident metadata
|
2019-01-06 15:45:23 +01:00 |
|
Sebastian Ullrich
|
38df819817
|
fix(library/init/lean/expander): all identifiers in terms should be ident_univs
|
2019-01-01 23:59:23 +01:00 |
|
Sebastian Ullrich
|
fce5c5bd36
|
perf(library/init/lean/position): add file_map cache for position conversion
|
2018-12-20 15:32:46 +01:00 |
|
Sebastian Ullrich
|
0911d16bc3
|
feat(library/init/lean): compute and show error positions
|
2018-12-20 14:28:18 +01:00 |
|
Sebastian Ullrich
|
e5aaf391ff
|
fix(library/init/lean/parser/syntax): macro_scopes.flip
|
2018-12-19 15:04:48 +01:00 |
|
Sebastian Ullrich
|
5b44a6f93d
|
feat(library/init/lean/parser/parsec): structured doc_comment syntax nodes
|
2018-12-19 14:42:33 +01:00 |
|
Sebastian Ullrich
|
0cf88598d2
|
feat(library/init/lean/parser/declaration): stricter grammar for universe parameters and non-optional declaration types
|
2018-12-19 14:41:17 +01:00 |
|
Sebastian Ullrich
|
4f7be93e87
|
feat(library/init/lean): remove support for section aliases
|
2018-12-18 17:04:04 +01:00 |
|
Sebastian Ullrich
|
0a63d39247
|
refactor(library/init/lean): syntax.mk_app'/mk_app ~> syntax.mk_app/mk_capp
|
2018-12-14 17:37:37 +01:00 |
|
Sebastian Ullrich
|
306da89551
|
feat(library/init/lean/expander): expand universe( variable)s to multiple universe( variable) commands
|
2018-12-07 10:31:14 +01:00 |
|
Sebastian Ullrich
|
e7a6746b6a
|
refactor(library/init/lean): share error function between expander and elaborator
|
2018-12-06 17:03:01 +01:00 |
|
Sebastian Ullrich
|
9c9e642210
|
feat(library/init/lean/elaborator): universe operators, subtype
|
2018-12-06 13:23:12 +01:00 |
|
Sebastian Ullrich
|
4b3995fac3
|
refactor(library/init/lean/parser/term): factor out opt_type parser
|
2018-12-06 13:23:12 +01:00 |
|
Sebastian Ullrich
|
143ac0e58a
|
feat(library/init/lean/expander): also normalize bracketed binders in e.g. declarations
|
2018-12-06 13:23:12 +01:00 |
|
Sebastian Ullrich
|
79b7a29d3f
|
fix(library/init/lean/parser/syntax): syntax.to_format: reverse scope stack
|
2018-12-04 13:44:46 +01:00 |
|
Sebastian Ullrich
|
ad27da3209
|
perf(library/init/lean/parser/syntax): optimize syntax.flip_scopes
|
2018-12-04 13:16:45 +01:00 |
|
Sebastian Ullrich
|
c3f8e219c0
|
feat(library/init/lean/expander): preresolve global references (not actually used anywhere yet)
|
2018-11-27 18:02:51 +01:00 |
|
Sebastian Ullrich
|
d9dc4edd31
|
refactor(library/init/lean/parser/combinators): improve sep_by view
|
2018-11-27 17:11:14 +01:00 |
|
Sebastian Ullrich
|
ee9c26947c
|
feat(library/init/lean/elaborator): structure instances
|
2018-11-22 17:28:19 +01:00 |
|
Sebastian Ullrich
|
32e3e8a336
|
feat(library/init/lean/elaborator): sort_app, explicit
|
2018-11-21 18:13:38 +01:00 |
|
Sebastian Ullrich
|
cc93a2eb89
|
feat(library/init/lean/expander): extend "simple binders" to pi, expand pi
|
2018-11-21 18:13:38 +01:00 |
|
Sebastian Ullrich
|
a4b9cc83b8
|
feat(library/init/lean/{expander,elaborator}): progress
|
2018-11-21 18:13:38 +01:00 |
|
Sebastian Ullrich
|
222fff8862
|
refactor(library/init/lean/elaborator): introduce simple lambda binder
|
2018-11-21 18:13:38 +01:00 |
|
Sebastian Ullrich
|
c8eaee74b4
|
feat(frontends/lean,library/init/lean/parser/combinators): add node_longest_choice! macro
|
2018-11-19 18:02:28 +01:00 |
|
Sebastian Ullrich
|
d10ff29bea
|
fix(library/init/lean/parser/term): placeholder binder after bracketed binder
|
2018-11-19 13:38:45 +01:00 |
|
Sebastian Ullrich
|
cd287629cb
|
feat(library/init/lean/elaborator): initial version of translating syntax trees to preterms
|
2018-11-19 13:38:45 +01:00 |
|
Sebastian Ullrich
|
9e8dfbad79
|
perf(library/init/lean/parser): reintroduce separate syntax.ident constructor with much simpler and more efficient encoding
|
2018-11-18 16:55:04 +01:00 |
|
Sebastian Ullrich
|
68dad5e77c
|
chore(library/init/lean/parser/token): raw: unnecessary try
|
2018-11-18 16:11:41 +01:00 |
|
Leonardo de Moura
|
7937f1e010
|
chore(library/init/util): remove util.lean
At least initially, we will not support these primitives in the new compiler.
|
2018-11-15 16:27:52 -08:00 |
|
Sebastian Ullrich
|
600b7ceb28
|
fix(library/init/lean/parser/syntax): make sure macro scopes are not pushed inside of ident nodes
|
2018-11-14 17:23:32 +01:00 |
|