Leonardo de Moura
|
57411ed039
|
refactor(library/compiler/extern_attribute): new interface
|
2019-02-11 12:48:37 -08:00 |
|
Leonardo de Moura
|
befa53ec70
|
feat(library/compiler/emit_cpp): use new extern_attribute module
|
2019-02-11 11:03:56 -08:00 |
|
Leonardo de Moura
|
bf15ee48fd
|
refactor(library/compiler): export_name ==> export_attribute
|
2019-02-09 17:59:46 -08:00 |
|
Leonardo de Moura
|
9aed74a5e0
|
refactor(library/compiler): move extension for storing LLNF code
|
2019-02-09 17:59:46 -08:00 |
|
Leonardo de Moura
|
b09be6d0a5
|
fix(library/compiler/emit_cpp): missing { }
|
2019-02-08 11:06:29 -08:00 |
|
Leonardo de Moura
|
4339afc802
|
chore(library/compiler): [extname] ==> [export]
|
2019-02-08 10:25:21 -08:00 |
|
Max Wagner
|
e663f75fb2
|
chore(library/compiler): move builtins into the environment
|
2019-02-08 09:56:03 -08:00 |
|
Sebastian Ullrich
|
25ffbdda57
|
chore(src/*): fix style
|
2019-02-07 15:41:12 +01:00 |
|
Leonardo de Moura
|
14dd0d4907
|
feat(library/compiler): treat a function named main as the main function
|
2019-02-06 17:20:23 -08:00 |
|
Leonardo de Moura
|
16c0e62fa1
|
feat(library/compiler/emit_cpp): emit main
|
2019-02-06 14:34:52 -08:00 |
|
Leonardo de Moura
|
b4a7bb4f4c
|
refactor(library/compiler): [cppname] ==> [extname]
We will use this atttribute for all backends.
|
2019-02-06 12:53:12 -08:00 |
|
Leonardo de Moura
|
f38de694b0
|
feat(frontends/lean/definition_cmds): compile code after attributes have been applied
@kha do you see any problem with this change?
|
2019-02-06 12:14:53 -08:00 |
|
Leonardo de Moura
|
d103ff70fe
|
feat(library/compiler): avoid cnstr_set_scalar when possible
|
2019-02-06 10:49:58 -08:00 |
|
Sebastian Ullrich
|
58830be91f
|
chore(library/compiler/emit_cpp): ignore warnings under GCC
|
2019-02-06 09:35:51 -08:00 |
|
Sebastian Ullrich
|
11860a65eb
|
fix(library/compiler/emit_cpp): replace constructor tag on reuse
|
2019-02-06 09:34:14 -08:00 |
|
Sebastian Ullrich
|
eb85081a03
|
fix(library/compiler/emit_cpp): let y = f x; let z = ...; y is not a tail call
|
2019-02-06 09:33:38 -08:00 |
|
Leonardo de Moura
|
a35a951374
|
chore(library/compiler/emit_cpp): add uint* aliases
|
2019-02-05 17:01:10 -08:00 |
|
Leonardo de Moura
|
e57401232c
|
fix(library/compiler/emit_cpp): bug at emit 0-ary constructor of non enum type (e.g., list.nil)
|
2019-02-04 16:07:31 -08:00 |
|
Leonardo de Moura
|
7c355d3ba6
|
feat(library/compiler): thunk support
|
2019-02-04 15:22:18 -08:00 |
|
Leonardo de Moura
|
25ec21b498
|
feat(library/compiler/name_mangling): new name mangling procedure that produces more readable output
|
2019-02-04 10:31:38 -08:00 |
|
Leonardo de Moura
|
67f4fb603d
|
chore(library/compiler/emit_cpp): unnecessary line break
|
2019-02-03 19:19:01 -08:00 |
|
Leonardo de Moura
|
79e8358f9c
|
fix(library/compiler/emit_cpp): tail call optimization
|
2019-02-03 19:16:50 -08:00 |
|
Leonardo de Moura
|
e5e245d0f2
|
chore(library/compiler/emit_cpp): missing space
|
2019-02-03 10:41:41 -08:00 |
|
Leonardo de Moura
|
5aab81d773
|
chore(library/compiler/emit_cpp): ignore unused labels
|
2019-02-03 10:37:34 -08:00 |
|
Leonardo de Moura
|
73f4100a46
|
feat(library/compiler/emit_cpp): tail call optimization
|
2019-02-03 10:31:39 -08:00 |
|
Leonardo de Moura
|
e31f026bb2
|
fix(library/compiler/emit_cpp): add extern for constants declared in other modules
|
2019-02-01 17:26:12 -08:00 |
|
Leonardo de Moura
|
ec5a326157
|
fix(library/compiler/emit_cpp): include runtime/io.h
|
2019-02-01 15:12:30 -08:00 |
|
Leonardo de Moura
|
6e8f8a8cdc
|
fix(library/compiler/emit_cpp): another bug in emit_quoted_string
|
2019-02-01 14:59:51 -08:00 |
|
Leonardo de Moura
|
d12667fb6b
|
fix(library/compiler/emit_cpp): bug handling 0-ary _cnstr
|
2019-02-01 14:35:40 -08:00 |
|
Leonardo de Moura
|
b6f7472dd7
|
fix(library/compiler/emit_cpp): remove leftover
|
2019-02-01 14:21:17 -08:00 |
|
Leonardo de Moura
|
42ee42b732
|
fix(library/compiler/emit_cpp): bug at quote_string
|
2019-02-01 14:15:38 -08:00 |
|
Leonardo de Moura
|
4fa06e38b2
|
chore(*): add skeleton for new builtin primitives, update src/boot
|
2019-02-01 14:03:03 -08:00 |
|
Leonardo de Moura
|
7c32e04f9c
|
chore(library/compiler/emit_cpp): avoid line breaks when declaring blocks of variables
|
2019-02-01 13:36:43 -08:00 |
|
Leonardo de Moura
|
d154b45d4c
|
chore(library/compiler/builtin): avoid unused variable warning on clang++
|
2019-02-01 13:33:52 -08:00 |
|
Leonardo de Moura
|
1212207446
|
fix(library/compiler/reduce_arity): we should not create auxiliary definitions with 0 arguments at reduce_arity
|
2019-02-01 11:15:51 -08:00 |
|
Leonardo de Moura
|
150555e03f
|
chore(library/compiler/emit_cpp): temporarily comment line
See new comment to understand motivation for the change.
|
2019-01-31 18:24:31 -08:00 |
|
Leonardo de Moura
|
94d7b4e094
|
fix(library/compiler/emit_cpp): support for _unreachable
|
2019-01-31 17:05:52 -08:00 |
|
Leonardo de Moura
|
353d16f5f6
|
fix(library/compiler/emit_cpp): mpz ==> lean::mpz
|
2019-01-31 16:57:07 -08:00 |
|
Leonardo de Moura
|
5f29b1003b
|
fix(library/compiler/emit_cpp): missing enf_unreachable case
|
2019-01-31 16:37:02 -08:00 |
|
Leonardo de Moura
|
4166851574
|
feat(library/compiler/emit_cpp): emit_box and emit_unbox
|
2019-01-31 16:16:30 -08:00 |
|
Leonardo de Moura
|
78842d8d03
|
feat(library/compiler/emit_cpp): emit_proj, emit_sproj, emit_uproj, emit_sset, emit_uset
|
2019-01-31 15:38:53 -08:00 |
|
Leonardo de Moura
|
80754e84c5
|
feat(library/compiler/emit_cpp): emit_closure
|
2019-01-31 15:06:04 -08:00 |
|
Leonardo de Moura
|
74079cb591
|
feat(library/compiler/emit_cpp): emit_lit
|
2019-01-31 14:54:43 -08:00 |
|
Leonardo de Moura
|
34256795d7
|
feat(library/compiler/emit_cpp): emit_reuse
|
2019-01-31 14:54:35 -08:00 |
|
Leonardo de Moura
|
7c3354f15f
|
feat(library/compiler/emit_cpp): emit_reset
|
2019-01-31 12:33:17 -08:00 |
|
Leonardo de Moura
|
d63bbb3728
|
feat(library/compiler/emit_cpp): emit_cnstr
|
2019-01-30 15:47:38 -08:00 |
|
Leonardo de Moura
|
d2cbf9584f
|
feat(library/compiler/emit_cpp): emit _apply instruction
|
2019-01-30 14:37:21 -08:00 |
|
Leonardo de Moura
|
efcc459c3b
|
fix(library/compiler/emit_cpp): emit_constant should handle neutral
|
2019-01-30 14:36:14 -08:00 |
|
Leonardo de Moura
|
69eea3d225
|
fix(library/compiler/emit_cpp): missing collect_dependencies
|
2019-01-29 16:41:32 -08:00 |
|
Leonardo de Moura
|
38172c8f1c
|
feat(library/compiler/emit_cpp): use if statement when cases has only 2 cases
|
2019-01-29 16:32:23 -08:00 |
|