Commit graph

11685 commits

Author SHA1 Message Date
Leonardo de Moura
140708fe8d chore(runtime): style 2019-08-24 07:40:56 -07:00
Leonardo de Moura
f697381410 feat(shell/lean.cpp): use C backend for --cpp option 2019-08-24 07:40:56 -07:00
Leonardo de Moura
88a4320117 chore(stage0): update 2019-08-24 07:40:56 -07:00
Leonardo de Moura
09d8dd536c fix(library/init/lean/compiler/ir/emitc): invisible unicode character 2019-08-24 07:40:55 -07:00
Leonardo de Moura
db83a52748 chore(library/init/lean/compiler/ir/emitc): cleanup 2019-08-24 07:40:55 -07:00
Leonardo de Moura
70f3537a29 feat(runtime): add lean_panic and variants 2019-08-24 07:40:39 -07:00
Leonardo de Moura
acc243b484 chore(stage0): update 2019-08-24 07:40:39 -07:00
Leonardo de Moura
5124ab07c0 feat(library/init/lean/compiler/ir/emitcpp): use extern "C" { in generated files 2019-08-24 07:40:38 -07:00
Leonardo de Moura
b66034305a chore(stage0): update 2019-08-24 07:40:38 -07:00
Leonardo de Moura
b020ca3259 feat(library/init/lean/compiler/ir/emitcpp): allow C++ backend to use @[extern c ...] when @[extern cpp ...] is missing 2019-08-24 07:40:38 -07:00
Leonardo de Moura
41a4eaacd3 fix(runtime, library/init/lean/compiler/ir/emitc): missing export, ensure we can compile with C++ compiler 2019-08-24 07:40:38 -07:00
Leonardo de Moura
cee0264363 feat(CMakeLists.txt): add "COMPRESSED_OBJECT_HEADER" cmake option 2019-08-24 07:40:38 -07:00
Leonardo de Moura
e7c8e66986 fix(runtime/object): remove incorrect assertions
They are not true when LEAN_COMPRESSED_OBJECT_HEADER is defined.
2019-08-24 07:40:38 -07:00
Leonardo de Moura
6553c5531c fix(runtime): bugs at compact.cpp and object size calculation 2019-08-24 07:40:38 -07:00
Leonardo de Moura
1ba481fad5 chore(runtime/compact): minor 2019-08-24 07:40:38 -07:00
Leonardo de Moura
79f4eeea62 fix(runtime/lean): incorrect assertion 2019-08-24 07:40:38 -07:00
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
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
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