Leonardo de Moura
|
244079a4cc
|
feat(library/compiler/llnf): add process_cases
|
2019-01-17 13:29:38 -08:00 |
|
Sebastian Ullrich
|
c1534fd476
|
feat(frontends/lean/vm_elaborator): [recursor] arguments
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
a23df570fc
|
fix(library/init/lean/elaborator): match
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
175a9f0f5c
|
fix(frontends/lean/vm_elaborator): skip local refs created deep inside elab_defs
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
3e8e823893
|
fix(frontends/lean/vm_elaborator): preserve internal name of section variables
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
0509cfcf99
|
fix(frontends/lean/vm_elaborator): name to obj
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
85cad3a7f1
|
fix(library/init/lean/elaborator): equation heads
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
3611eda136
|
fix(frontends/lean/vm_elaborator): message order
|
2019-01-17 19:57:00 +01:00 |
|
Sebastian Ullrich
|
cbed0d232d
|
fix(frontends/lean/definition_cmds): collect implicit locals in both frontends
|
2019-01-17 18:55:43 +01:00 |
|
Sebastian Ullrich
|
a29d33485c
|
feat(util/list_ref): to_list_ref, which I didn't need in the end
|
2019-01-17 17:06:52 +01:00 |
|
Sebastian Ullrich
|
16d7ee5aff
|
fix(frontends/lean/vm_elaborator): pattern variables
|
2019-01-17 17:06:52 +01:00 |
|
Sebastian Ullrich
|
8cc35b854b
|
feat(library/init/lean/{expander,elaborator}): variable(s)
|
2019-01-17 17:06:52 +01:00 |
|
Sebastian Ullrich
|
8835a7b7d9
|
feat(frontends/lean/vm_elaborator): return new local context
|
2019-01-17 17:06:52 +01:00 |
|
Sebastian Ullrich
|
15cc07fe17
|
fix(frontends/lean/vm_elaborator): initialization
|
2019-01-17 13:34:28 +01:00 |
|
Sebastian Ullrich
|
0923a2cbae
|
refactor(library/init/lean/elaborator): avoid deprecated expr locals in new elaborator state
|
2019-01-17 12:29:44 +01:00 |
|
Sebastian Ullrich
|
c338245536
|
feat(library/init/lean/elaborator): implement the only part of open/export
|
2019-01-16 19:49:44 +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
|
e726c64895
|
feat(frontends/lean/vm_elaborator): synthesize instance names
|
2019-01-16 19:12:40 +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
|
246eecf155
|
fix(library/init/lean/elaborator): do not mangle attribute names (since they are not environment identifiers)
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
ca058a6d8e
|
chore(library/init/lean/expander): simplify constant normalization
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
5ef30a9300
|
fix(library/init/lean/elaborator): have serialization
|
2019-01-16 19:12:40 +01:00 |
|
Sebastian Ullrich
|
dce62fc190
|
fix(library/init/lean/expander): structural substitution instead of abstraction-application when applying notations
|
2019-01-16 19:12:40 +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
|
c17ba349f3
|
refactor(library/init/lean/parser/syntax): factor out syntax.(m)replace
|
2019-01-16 19:12:40 +01:00 |
|
Leonardo de Moura
|
0451a53b54
|
doc(library/compiler/llnf): document explicit_rc_fn
|
2019-01-15 16:26:09 -08:00 |
|
Leonardo de Moura
|
54fe7e7be9
|
feat(library/compiler/llnf): explicit_rc_fn
TODO: cases_on terms
|
2019-01-15 15:54:38 -08:00 |
|
Leonardo de Moura
|
c268796545
|
fix(frontends/lean): clang errors and warnings
cc @kha
|
2019-01-15 13:48:08 -08:00 |
|
Leonardo de Moura
|
579d462776
|
feat(library/compiler/llnf): add process_app
|
2019-01-15 12:49:08 -08:00 |
|
Sebastian Ullrich
|
31588a1013
|
fix(library/init/lean/elaborator): do not attach position to app, nodes without pos data
|
2019-01-15 18:51:24 +01:00 |
|
Sebastian Ullrich
|
5660a8e690
|
feat(library/init/lean/elaborator): transmit position information
|
2019-01-15 18:28:35 +01:00 |
|
Sebastian Ullrich
|
1b565fcaa0
|
feat(library/init/lean/elaborator): simplistic support of export
|
2019-01-15 17:44:14 +01:00 |
|
Sebastian Ullrich
|
d444b5ef49
|
chore(library/init/core): move sorry_ax up (temporarily) to get error recovery sooner
|
2019-01-15 17:42:09 +01:00 |
|
Sebastian Ullrich
|
cead81fcea
|
fix(frontends/lean/inductive_cmds): set m_explicit_levels, and call collect_implicit_locals only after that
|
2019-01-15 16:47:28 +01:00 |
|
Sebastian Ullrich
|
7dd21df59f
|
fix(library/init/lean/elaborator): C++ expects the oldest variable first
|
2019-01-15 16:20:46 +01:00 |
|
Sebastian Ullrich
|
d0062691de
|
feat(library/init/lean): implement init_quot
|
2019-01-15 15:06:51 +01:00 |
|
Sebastian Ullrich
|
6e64089123
|
feat(frontends/lean/structure_cmd): implement structure
|
2019-01-15 15:01:52 +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
|
7aa06338c9
|
feat(frontends/lean/vm_elaborator): implement inductive
|
2019-01-14 14:49:40 +01:00 |
|
Sebastian Ullrich
|
0945a87fbb
|
fix(library/init/lean/elaborator): to_pexpr: explicitness modifiers
|
2019-01-14 14:48:49 +01:00 |
|
Sebastian Ullrich
|
93d8431d00
|
fix(frontends/lean/definition_cmds): fix build
|
2019-01-14 11:24:11 +01:00 |
|
Sebastian Ullrich
|
3216b1a268
|
feat(library/init/lean/elaborator): implement instance/example
|
2019-01-12 15:10:00 +01:00 |
|
Sebastian Ullrich
|
84e9dd9b1a
|
feat(library/init/lean/elaborator,frontends/lean/vm_elaborator): implement def/theorem/abbreviation
|
2019-01-12 15:10:00 +01:00 |
|
Sebastian Ullrich
|
49f580f190
|
feat(library/compiler/builtin,frontends/lean/vm_elaborator): add temporary expr.local primitive
This makes it possible (or at least much easier) to interface with old
parser/elaborator code using local_consts for e.g. `def` parameters.
|
2019-01-12 14:16:43 +01:00 |
|
Sebastian Ullrich
|
da865fc33a
|
refactor(frontends/lean/{vm_,}elaborator): move name resolution over to parser locals
In the end I wasn't quite sure whether this is necessary, but it's at least simpler.
|
2019-01-12 14:14:22 +01:00 |
|
Leonardo de Moura
|
e0da13128e
|
refactor(library/compiler/llnf): explicit_rc_fn
|
2019-01-09 16:57:38 -08:00 |
|
Leonardo de Moura
|
7b4b92702f
|
feat(library/compiler/llnf): cancel _unbox over _box and _box over _unbox
|
2019-01-09 16:57:38 -08:00 |
|
Leonardo de Moura
|
78379e2224
|
fix(library/compiler/llnf): avoid unnecessary let-decl at cast_if_needed
|
2019-01-09 16:57:38 -08:00 |
|
Leonardo de Moura
|
c1fd3e6062
|
fix(library/compiler/llnf): unnecessary let-decl
|
2019-01-09 16:57:38 -08:00 |
|