Commit graph

17357 commits

Author SHA1 Message Date
Leonardo de Moura
124c5da414 fix(runtime): disable compressed headers and fix bugs 2019-08-24 07:40:38 -07:00
Leonardo de Moura
3b762d4dc0 refactor(runtime): C backend 2019-08-24 07:40:38 -07:00
Leonardo de Moura
694800ce4f chore(util): remove dead code 2019-08-24 07:40:38 -07:00
Leonardo de Moura
dcd15f3424 refactor(runtime): C backend 2019-08-24 07:40:38 -07:00
Sebastian Ullrich
cf18cda557 chore(library/Makefile.in): make sure failures from lean --deps are propagated 2019-08-23 17:24:35 +02:00
Leonardo de Moura
94c69fff2b feat(runtime/alloc): auxiliary functions for new runtime 2019-08-21 10:44:40 -07:00
Leonardo de Moura
0ab8631cf1 chore(stage0): update 2019-08-21 09:53:13 -07:00
Leonardo de Moura
78d87cf4cd fix(library/init/lean/compiler/ir/emitcpp): add missing lean::
@kha It is unclear why the C++ compilers were accepting our generated
files without `lean::`. I found the issue by accident while working on
the new C backend.
2019-08-21 09:51:01 -07:00
Leonardo de Moura
166eff9525 fix(runtime/lean): missing details 2019-08-21 09:37:36 -07:00
Leonardo de Moura
9e8ac5ae27 chore(runtime/lean): style 2019-08-20 19:46:53 -07:00
Leonardo de Moura
1dc1bcf521 fix(runtime/lean): stdatomic.h vs atomic issue 2019-08-20 17:56:24 -07:00
Leonardo de Moura
852ea07e30 chore(stage0): update 2019-08-20 13:04:35 -07:00
Leonardo de Moura
25481d5cef chore(runtime/object): preparing for implementing object.h using lean.h 2019-08-20 13:00:18 -07:00
Leonardo de Moura
4405b30cc8 fix(library/init/lean/compiler/ir/emitc): lean_inc 2019-08-20 12:19:31 -07:00
Leonardo de Moura
dbabee0711 fix(library/init): missing "extern c" 2019-08-20 12:02:46 -07:00
Leonardo de Moura
98e6e0c09a feat(library/init): add "extern c" attributes 2019-08-20 11:53:46 -07:00
Leonardo de Moura
c46387e98c chore(library/init/fix): test "extern c" 2019-08-20 11:18:19 -07:00
Leonardo de Moura
e002c96654 chore(runtime/lean): style 2019-08-20 10:20:55 -07:00
Leonardo de Moura
3d740df31e chore(stage0): update 2019-08-20 10:16:00 -07:00
Leonardo de Moura
6d6cb14f9e feat(library/init/lean/compiler/ir/emitc,shell/lean): add --c=<filename> option 2019-08-20 10:13:40 -07:00
Leonardo de Moura
a8d6bed95f feat(runtime/lean): add lean_apply_* 2019-08-20 09:24:02 -07:00
Leonardo de Moura
a98095ad4f feat(runtime/lean): missing APIs 2019-08-20 09:19:28 -07:00
Leonardo de Moura
5eafa7e391 feat(runtime/lean): UInt8/UInt16/UInt32/UInt64/USize APIs 2019-08-20 09:06:35 -07:00
Leonardo de Moura
af634536bd feat(runtime/lean): Int API 2019-08-20 07:47:41 -07:00
Leonardo de Moura
44dd77a739 feat(runtime/lean): ByteArray API 2019-08-19 10:12:36 -07:00
Leonardo de Moura
1fc9f09bef feat(runtime/lean): Nat API 2019-08-19 09:48:13 -07:00
Leonardo de Moura
43705872fd feat(runtime/lean): Task and External APIs 2019-08-19 09:21:16 -07:00
Leonardo de Moura
750748440e feat(runtime/lean): Thunk API 2019-08-19 08:56:41 -07:00
Leonardo de Moura
70f832727f feat(runtime/lean): string API 2019-08-18 08:44:01 -07:00
Leonardo de Moura
d0dab47877 feat(runtime/lean): array of objects API 2019-08-18 08:31:57 -07:00
Leonardo de Moura
b2693962bd chore(library/init/lean): export as C functions 2019-08-17 07:30:07 -07:00
Leonardo de Moura
66304d83a0 chore(library/init/lean/compiler): export as C functions 2019-08-17 06:58:36 -07:00
Leonardo de Moura
57fd302f84 chore(runtime/lean): style 2019-08-16 21:01:14 -07:00
Leonardo de Moura
4429aac0b3 chore(library/compiler/ir): remove box(13) hack 2019-08-16 20:58:30 -07:00
Leonardo de Moura
ec0e74f5f8 chore(library/init/lean): export as C functions 2019-08-16 20:52:10 -07:00
Leonardo de Moura
a5c97e21bf chore(library/init/lean): export as C functions 2019-08-16 20:15:30 -07:00
Leonardo de Moura
19051d9a0d chore(library/init/lean/localcontext): export as C functions 2019-08-16 19:49:17 -07:00
Leonardo de Moura
67a37c6917 chore(library/init/lean/class): export as C functions 2019-08-16 19:42:14 -07:00
Leonardo de Moura
954846788e chore(stage0): update 2019-08-16 19:35:16 -07:00
Leonardo de Moura
8a3522c8e5 chore(library/init/lean/compiler/ir/emitcpp): small hack for exporting functions as C functions instead of C++ 2019-08-16 19:26:03 -07:00
Leonardo de Moura
2758681d78 feat(runtime/lean): closures 2019-08-16 16:14:34 -07:00
Leonardo de Moura
4a24b400c8 feat(runtime/lean): constructor API 2019-08-16 15:53:35 -07:00
Sebastian Ullrich
8cc2f731cd chore(tests/bench/speedcenter.exec.yaml): fix again 2019-08-16 22:24:22 +02:00
Sebastian Ullrich
f1db7e8041 chore(tests/bench/speedcenter.exec.yaml): add "rbmap_10" benchmark 2019-08-16 19:11:01 +02:00
Sebastian Ullrich
7c84f522be chore(tests/bench/speedcenter.exec.yaml): fix hilariously broken "stdlib size: lines" benchmark 2019-08-16 19:11:01 +02:00
Sebastian Ullrich
c57de174a3 fix(library/init/lean/elaborator/resolvename): prelude 2019-08-16 19:11:01 +02:00
Leonardo de Moura
d4ef508722 chore(runtime/lean): style 2019-08-16 09:57:34 -07:00
Leonardo de Moura
9d37f53d83 fix(tests/lean/run/new_compiler): broken test 2019-08-16 09:46:44 -07:00
Leonardo de Moura
dae30a4ea6 chore(library/compiler/specialize): remove broken assertions 2019-08-16 09:46:05 -07:00
Leonardo de Moura
deecda22bd feat(library/init/lean/compiler/ir/emitc): C code emitter
It will eventually replace emitcpp.lean
2019-08-15 20:29:06 -07:00