Commit graph

14634 commits

Author SHA1 Message Date
Leonardo de Moura
cfdc331ecb feat(library/compiler/lcnf): replace eq.rec and eq.ndrec applications with lc_cast 2018-09-12 11:00:34 -07:00
Leonardo de Moura
9f2d543209 chore(library/init/core): hide arguments for lc_proof, lc_cast and lc_unreachable 2018-09-12 11:00:05 -07:00
Leonardo de Moura
c526670e6f feat(library/compiler/lcnf): eliminate id_rhs even if it is partially applied 2018-09-12 10:45:23 -07:00
Leonardo de Moura
2d6582e67c fix(library/compiler/lcnf): dumb mistake, Pi case is not reachable 2018-09-12 10:40:09 -07:00
Leonardo de Moura
ec1809de74 fix(library/compiler/lcnf): restore cache 2018-09-12 10:40:09 -07:00
Leonardo de Moura
70f057bee7 chore(library/type_context): add infer_proj to type_context_old
We need it to pp the new compiler intermediate results.
2018-09-12 10:40:09 -07:00
Leonardo de Moura
ec92653d93 feat(library/compiler/lcnf): do not create aux let-decl for lc_proof-applications 2018-09-12 10:40:09 -07:00
Leonardo de Moura
d5d926b0ef feat(library/compiler/lcnf): eliminate no_confusion 2018-09-12 10:40:09 -07:00
Sebastian Ullrich
c5bc567a16 chore(library/module_mgr): fix warning 2018-09-12 10:38:25 -07:00
Sebastian Ullrich
f738e51ae1 fix(library/module_mgr): go back to storing transitive mtime in module_info
It was being discarded when the module_mgr was called multiple times from the
outside, i.e. in the loop in lean.cpp
2018-09-12 09:31:48 -07:00
Sebastian Ullrich
75b2b09c08 feat(library/module_mgr): 'trace.import' trace class 2018-09-12 09:14:58 -07:00
Sebastian Ullrich
62671c8b6f fix(shell/lean): Flycheck doesn't ignore stderr 2018-09-12 08:29:21 -07:00
Leonardo de Moura
de2abf5d8c fix(library/compiler/lc_util): missing file 2018-09-11 18:11:27 -07:00
Leonardo de Moura
8ee10e202f chore(library/compiler/lcnf): use _x_<idx> instead of _x.<idx>
This is a temporary change while we debug the new compiler.
2018-09-11 18:10:10 -07:00
Leonardo de Moura
72e99ea3ee fix(library/compiler/lcnf): apply_beta takes arguments in reverse order 2018-09-11 18:10:10 -07:00
Leonardo de Moura
3ba777e709 fix(frontends/lean/pp): do not pp let type when m_binder_types == false 2018-09-11 18:10:10 -07:00
Leonardo de Moura
d814ee612a chore(kernel/local_ctx): typo 2018-09-11 18:10:10 -07:00
Leonardo de Moura
9b21287a3e feat(library/compiler/lcnf): add lean compiler normal form 2018-09-11 18:10:10 -07:00
Sebastian Ullrich
febeaad5bb feat(lean4-mode/lean4-flycheck): store .olean of dependencies 2018-09-11 16:35:25 -07:00
Sebastian Ullrich
52d4cc10ad feat(shell/lean,lean4-mode/lean4-flycheck): use stdin for communication
no more `flycheck_` files
2018-09-11 16:35:25 -07:00
Leonardo de Moura
81545c12f2 chore(runtime/object): fix comment 2018-09-11 14:31:14 -07:00
Leonardo de Moura
46d6f7bfb5 chore(runtime/object): store function pointer as void * inside closure 2018-09-11 14:27:45 -07:00
Leonardo de Moura
e8fa692611 chore(runtime/object): change default object_memory_kind to STHeap 2018-09-11 13:57:55 -07:00
Leonardo de Moura
3feae112bc chore(frontends/lean/parser): unused var warning 2018-09-11 13:55:44 -07:00
Leonardo de Moura
efb33ac0a7 chore(library/init/env_ext): update 2018-09-11 13:55:25 -07:00
Leonardo de Moura
6914d35062 chore(library/compiler/preprocess): dead trace option 2018-09-11 13:55:25 -07:00
Sebastian Ullrich
78ced9ffcf refactor(library/module_mgr): minimize parser interface 2018-09-11 13:55:25 -07:00
Sebastian Ullrich
43e57358af refactor(library/module_mgr): minor refactorings 2018-09-11 13:55:25 -07:00
Sebastian Ullrich
af99f153f8 refactor(library/module{,_mgr},frontends/lean/parser): use absolute module names everywhere for identifying modules, move actual importing from parser to module_mgr 2018-09-11 13:55:25 -07:00
Sebastian Ullrich
716de48078 chore(library/module): remove loaded_module.m_env
It was used by `--run` only, which I guess will change quite a bit anyway
2018-09-11 13:55:25 -07:00
Sebastian Ullrich
904d7c4a88 chore(*): remove old task API and task queues 2018-09-11 13:55:25 -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
38208802c6 refactor(*): replace log_tree with simple message_log list, make module_mgr synchronous 2018-09-11 13:55:25 -07:00
Sebastian Ullrich
99ab0e9d67 refactor(library/messages): make an object_ref 2018-09-11 13:55:25 -07:00
Leonardo de Moura
7c7eccf6ad test(tests/util/object): add perf test 2018-09-11 08:27:25 -07:00
Leonardo de Moura
0691d43153 feat(library/init/lean/parser/basic): define trie using rbnode (char × trie) nested inductice type 2018-09-09 18:19:28 -07:00
Leonardo de Moura
4e6748b55b feat(library/init/data/rbmap/basic): add rbmap_core low level functions 2018-09-09 18:18:40 -07:00
Leonardo de Moura
5bc9b07ab9 feat(runtime/object): split Heap into MTHeap and STHeap 2018-09-09 14:46:28 -07:00
Leonardo de Moura
0573d7e1d5 fix(runtime/object): parray RC bugs 2018-09-09 12:04:27 -07:00
Leonardo de Moura
b45ac3fcc0 chore(runtime/object): minor 2018-09-09 10:59:36 -07:00
Leonardo de Moura
36423e4389 fix(runtime): parray memory leaks 2018-09-09 10:33:15 -07:00
Leonardo de Moura
2a24f4a09b test(tests/util/object): add parray test 2018-09-09 10:21:55 -07:00
Leonardo de Moura
4863ca071a chore(runtime): make sure we use the same naming convention for getters and setters 2018-09-09 10:07:00 -07:00
Leonardo de Moura
8f195515a6 feat(runtime): add persistent arrays to runtime 2018-09-09 09:44:38 -07:00
Sebastian Ullrich
a7b1de8bf7 chore(tests/shell/test): remove 2018-09-08 18:37:58 -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
845c496a07 fix(lean4-mode/lean4-util): (lean4-setup-rootdir) returns the wrong path 2018-09-08 18:37:58 -07:00
Sebastian Ullrich
1a4a69679d chore(lean4-mode): rename files 2018-09-08 18:37:58 -07:00
Sebastian Ullrich
11f8e24136 chore(lean4-mode): change lean- prefixes to lean4- 2018-09-08 18:37:58 -07:00
Sebastian Ullrich
f2cb01bbf0 chore(lean-mode): rename to lean4-mode 2018-09-08 18:37:58 -07:00