Leonardo de Moura
|
af99715a58
|
feat: store inline attribute at LCNF declarations
This commit also adds support for inheriting the inline attribute when
the compiler lambda lifts local functions from instances.
|
2022-10-13 02:06:35 -07:00 |
|
Leonardo de Moura
|
1148392f45
|
fix: Closure.lean
|
2022-10-08 19:51:19 -07:00 |
|
Leonardo de Moura
|
9eb641e7da
|
feat: reuse specialized functions between different compilation units
|
2022-10-07 16:07:17 -07:00 |
|
Leonardo de Moura
|
f11e44910b
|
refactor: add Closure.lean
This module will also be used by the lambda lifter.
|
2022-10-07 15:56:10 -07:00 |
|
Leonardo de Moura
|
e7a36f32f1
|
refactor: add MonadScope class
We are going to use it to implement the lambda lifting pass too.
|
2022-10-07 14:59:59 -07:00 |
|
Leonardo de Moura
|
18b5ff9e78
|
chore: propagate recursive flag during code specialization
|
2022-09-30 20:01:18 -07:00 |
|
Leonardo de Moura
|
4c2c6931f4
|
feat: add flag at LCNF Decl indicating whether the original Lean declaration was declared using partial or unsafe
|
2022-09-30 19:28:05 -07:00 |
|
Leonardo de Moura
|
35ca2b203c
|
refactor: split Simp.lean
|
2022-09-26 07:04:20 -07:00 |
|
Mario Carneiro
|
85119ba9d1
|
chore: move Std.* data structures to Lean.*
|
2022-09-26 05:46:04 -07:00 |
|
Leonardo de Moura
|
ce12ecfe13
|
fix: free variable collision at LCNF/Specialize.lean
|
2022-09-24 18:51:32 -07:00 |
|
Leonardo de Moura
|
c858aa3088
|
feat: replace getStage1Decl? with new getDecl?
|
2022-09-24 15:00:19 -07:00 |
|
Leonardo de Moura
|
011521013d
|
feat: use phase at inferConstType, save specialization
|
2022-09-23 16:45:04 -07:00 |
|
Leonardo de Moura
|
4df303900b
|
feat: apply specialize to specialized code recursively
|
2022-09-18 15:42:44 -07:00 |
|
Leonardo de Moura
|
5fbe63cca4
|
fix: process remaining params
|
2022-09-18 15:29:41 -07:00 |
|
Leonardo de Moura
|
05145577fd
|
feat: cache specialization results
|
2022-09-18 14:53:18 -07:00 |
|
Leonardo de Moura
|
796e9e3bdd
|
feat: eta expand at specializeApp?
|
2022-09-18 13:21:55 -07:00 |
|
Leonardo de Moura
|
9dede6f632
|
feat: add mkSpecDecl
|
2022-09-17 17:30:57 -07:00 |
|
Leonardo de Moura
|
27c504107e
|
feat: universe level parameter helper functions for the compiler
|
2022-09-17 16:29:44 -07:00 |
|
Leonardo de Moura
|
abe1f7f6f9
|
feat: dependency collector for the code specializer
|
2022-09-15 19:55:37 -07:00 |
|
Leonardo de Moura
|
e08d48c591
|
feat: track ground let-declarations at Specialize.lean
|
2022-09-12 14:05:45 -07:00 |
|
Leonardo de Moura
|
ec2372e8d4
|
feat: add Specialize.lean skeleton
|
2022-09-11 20:19:44 -07:00 |
|