Commit graph

14759 commits

Author SHA1 Message Date
Leonardo de Moura
4d64edfff3 chore: move to new frontend 2020-10-21 08:51:11 -07:00
Leonardo de Moura
3e9c5e1653 chore: move to new frontend 2020-10-21 08:43:47 -07:00
Leonardo de Moura
4f109e23c2 feat: return syntax object representing the whole file 2020-10-21 07:55:59 -07:00
Sebastian Ullrich
5351bffb99 chore: revert obsolete workaround 2020-10-21 11:21:56 +02:00
Sebastian Ullrich
b06f8311e8 fix: avoid using native code during bootstrap 2020-10-21 11:21:56 +02:00
Sebastian Ullrich
438b3351dd feat: add interpreter.prefer_native option 2020-10-21 11:21:56 +02:00
Leonardo de Moura
28664d9dc2 chore: move to new frontend 2020-10-20 17:41:04 -07:00
Leonardo de Moura
b3678954f4 chore: move to new frontend 2020-10-20 17:19:05 -07:00
Leonardo de Moura
f8971200af chore: move to new frontend 2020-10-20 17:01:29 -07:00
Leonardo de Moura
e1469d07d2 chore: move to new frontend 2020-10-20 16:36:02 -07:00
Leonardo de Moura
805481ac50 chore: move to new frontend 2020-10-20 16:24:10 -07:00
Leonardo de Moura
93f7b1d7bc chore: move to new frontend 2020-10-20 16:13:07 -07:00
Leonardo de Moura
6b132a23e9 chore: remove workaround 2020-10-20 15:53:09 -07:00
Leonardo de Moura
a7fcb7a07c feat: improve type ascription elaboration function 2020-10-20 15:49:51 -07:00
Leonardo de Moura
6d122eda49 chore: move to new frontend 2020-10-20 15:34:45 -07:00
Leonardo de Moura
fc9fb93c38 chore: adjust notation 2020-10-20 15:24:14 -07:00
Leonardo de Moura
35cf2f3d9f feat: use withSynthesize when elaborating the type of a type ascription 2020-10-20 15:12:54 -07:00
Leonardo de Moura
a052446414 feat: simplify decide! and nativeDecide! macros 2020-10-20 15:08:16 -07:00
Leonardo de Moura
50a34bc1fe fix: synthesize pending metavariables before expectedType.hasMVar test 2020-10-20 14:54:57 -07:00
Leonardo de Moura
299a89e2c0 fix: missing instantiateMVars 2020-10-20 14:43:32 -07:00
Leonardo de Moura
dcd3068b42 chore: improve error messages 2020-10-20 14:22:01 -07:00
Leonardo de Moura
faa59ead97 chore: move to new frontend 2020-10-20 13:46:16 -07:00
Leonardo de Moura
1a5e2fd0f0 chore: move to new frontend 2020-10-20 13:34:01 -07:00
Leonardo de Moura
b98fa56419 chore: add workaround to control IR size
@Kha
the new dependent pattern matching compiler assumes the eager inlining
at `csimp` will be fixed. Each alternative should produce a
joinpoint, but `csimp` is currently inlining all of them.
Without this workaround the .C file is 30K lines bigger.
2020-10-20 13:28:31 -07:00
Leonardo de Moura
d4872f5cb7 chore: move to new frontend 2020-10-20 12:50:17 -07:00
Leonardo de Moura
93a5a38ba7 chore: move to new frontend 2020-10-20 12:29:49 -07:00
Leonardo de Moura
e53ff26a91 chore: move to new frontend 2020-10-20 12:21:53 -07:00
Leonardo de Moura
e9c481e42d chore: move to new frontend 2020-10-20 12:08:48 -07:00
Leonardo de Moura
17b3376439 chore: move to new frontend 2020-10-20 12:06:02 -07:00
Leonardo de Moura
491199fc13 chore: move to new frontend 2020-10-20 11:32:28 -07:00
Leonardo de Moura
518faa71b4 chore: move to new frontend 2020-10-20 11:19:44 -07:00
Leonardo de Moura
2469efa9ff chore: move to new frontend 2020-10-20 11:12:42 -07:00
Leonardo de Moura
80a0200ab2 chore: move to new frontend
@Kha another significant milestone: all files at `src/Lean/Meta` are
being compiled with the new frontend.
2020-10-20 10:59:02 -07:00
Leonardo de Moura
8d8e8f7556 chore: move to new frontend 2020-10-20 09:33:50 -07:00
Leonardo de Moura
ddf4669d5d chore: move to new frontend 2020-10-20 09:33:50 -07:00
Leonardo de Moura
27205ddff7 chore: move to new frontend 2020-10-20 09:33:50 -07:00
Leonardo de Moura
8dffd752a8 chore: move to new frontend 2020-10-20 09:33:50 -07:00
Leonardo de Moura
1b6d1a83c7 chore: move to new frontend 2020-10-20 09:33:50 -07:00
Leonardo de Moura
fac2849e50 feat: forIn for PersistentArray 2020-10-20 09:33:50 -07:00
Leonardo de Moura
702ceb7a3f fix: return optional result
cc @Kha
2020-10-20 09:33:50 -07:00
Sebastian Ullrich
e8cf086641 fix: synthesize pretty printers early 2020-10-20 09:50:54 +02:00
Sebastian Ullrich
490c482af2 fix: allow [runParserAttributeHooks] on imported declarations, add non-builtin variant 2020-10-20 09:39:50 +02:00
Sebastian Ullrich
73065860f3 fix: refuse to generate code for imported parsers to avoid duplicate declarations 2020-10-20 09:38:44 +02:00
Leonardo de Moura
69dfb23805 chore: move to new frontend 2020-10-19 15:43:32 -07:00
Leonardo de Moura
86ab4d4029 chore: move to new frontend 2020-10-19 15:38:47 -07:00
Leonardo de Moura
29cb4e993b chore: export lean_is_io_unit_regular_init_fn and lean_is_io_unit_builtin_init_fn 2020-10-19 15:27:33 -07:00
Leonardo de Moura
1495f403a1 chore: use builtin_initialize instead of initialize at src/Lean 2020-10-19 15:17:02 -07:00
Leonardo de Moura
bed3dd61f0 feat: expand builtin_initialize 2020-10-19 15:09:46 -07:00
Leonardo de Moura
52e676af83 feat: add builtin_initialize command 2020-10-19 15:02:42 -07:00
Leonardo de Moura
ef18b0ab49 chore: use [builtinInit] 2020-10-19 14:58:38 -07:00