Leonardo de Moura
58783a2d3b
fix(library/compiler/extern_attribute): bug at get_given_arity
2019-02-11 16:51:23 -08:00
Leonardo de Moura
d877bdf546
chore(boot): update
2019-02-11 16:19:30 -08:00
Leonardo de Moura
5a5e949578
feat(library/init/lean/name): use extern attribute
2019-02-11 16:12:25 -08:00
Leonardo de Moura
7b0227572f
fix(library/init/core): missing borrowed annotation
2019-02-11 16:01:56 -08:00
Leonardo de Moura
c105da0d86
chore(boot): update
2019-02-11 15:57:05 -08:00
Leonardo de Moura
07ed77e724
fix(library/compiler/util): decidable A missing at mk_runtime_type
2019-02-11 15:51:09 -08:00
Leonardo de Moura
ccc4fe1468
fix(library/compiler/extract_closed): add new auxiliary declarations before
2019-02-11 15:40:22 -08:00
Leonardo de Moura
c27167f445
fix(library/compiler/ll_infer_type): use extern_attribute
2019-02-11 15:35:03 -08:00
Leonardo de Moura
9c3675f58f
feat(library/init/data): use extern when declaring uint and usize primitives
2019-02-11 15:15:57 -08:00
Leonardo de Moura
03ecc363a0
fix(library/compiler/util): missing case
2019-02-11 15:14:02 -08:00
Leonardo de Moura
6bc23bcc65
feat(library/compiler/extern_attribute): infer ll_type, arity and borrowed flags from type
2019-02-11 14:57:13 -08:00
Leonardo de Moura
8acb2d4ed8
chore(library/compiler): minor modifications before builtin ==> extern refactor
2019-02-11 13:29:39 -08:00
Leonardo de Moura
bc4e06666b
chore(*): avoid 0-ary extern declarations
2019-02-11 13:21:17 -08:00
Leonardo de Moura
57ed6fea3a
chore(boot): update
2019-02-11 12:54:41 -08:00
Leonardo de Moura
57411ed039
refactor(library/compiler/extern_attribute): new interface
2019-02-11 12:48:37 -08:00
Leonardo de Moura
96d63ccc0d
chore(library/compiler/builtin): remove "m_used_args"
2019-02-11 12:24:30 -08:00
Leonardo de Moura
6bdc60d380
chore(boot): update
2019-02-11 11:42:27 -08:00
Leonardo de Moura
1703255330
fix(library/init/core): we simulate the unused attribute feature using extern inline
2019-02-11 11:38:24 -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
1856a319e5
chore(util/path): valgrind was reporting a bug on OSX
2019-02-11 10:56:43 -08:00
Leonardo de Moura
6c90b1a2ff
chore(library/compiler/builtin): style
2019-02-11 10:30:06 -08:00
Leonardo de Moura
348ccf533c
feat(library/compiler): borrowed annotations
2019-02-11 10:08:47 -08:00
Leonardo de Moura
7e8f9e6f66
feat(library/compiler): add [extern] attribute
2019-02-09 18:53:44 -08:00
Leonardo de Moura
04ddd55b32
fix(library/derive_attribute): , is also an attribute terminator
2019-02-09 18:06:02 -08:00
Leonardo de Moura
d8c9740902
chore(library/compiler/builtin): fix compiler warning
2019-02-09 18:03:53 -08:00
Leonardo de Moura
2012dcfc7f
chore(util/string_ref): add string_refs alias
2019-02-09 18:00:27 -08:00
Leonardo de Moura
e8758a1707
chore(library/compiler/export_attribute): exporting constructors is messy
...
It is much simpler and only slightly more verbose to export an
auxiliary function that just invokes the constructor.
2019-02-09 18:00:27 -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
Sebastian Ullrich
67f8f7a2da
chore(tests/compiler/append): add expected output
2019-02-09 20:02:26 +01:00
Sebastian Ullrich
b579358b25
chore(boot): update
2019-02-09 19:57:24 +01:00
Sebastian Ullrich
b809bb5311
feat(library/init/lean/frontend): demangle and remove read_file
2019-02-09 19:55:53 +01:00
Sebastian Ullrich
ece423300b
fix(runtime/object): avoid implicit string allocation in string.iterator.curr/next/remove
2019-02-09 14:18:04 +01:00
Leonardo de Moura
613980fb30
fix(library/Makefile.in): add .olean as .cpp dependency
2019-02-08 17:09:53 -08:00
Leonardo de Moura
6cb96331b1
chore(tests/compiler): add .gitignore
2019-02-08 16:59:17 -08:00
Leonardo de Moura
b50f9de3b8
feat(library/init/lean/extern): declare extern_attr_data and helper functions
2019-02-08 16:55:44 -08:00
Leonardo de Moura
5dcbb9c50d
test(tests/compiler/append): append test
2019-02-08 16:52:41 -08:00
Leonardo de Moura
efe64cb2d3
feat(library/init/data/list/basic): tail recursive length
2019-02-08 16:51:44 -08:00
Leonardo de Moura
2d55c3f73c
chore(boot): update
2019-02-08 16:44:17 -08:00
Leonardo de Moura
a4f305a443
fix(library/compiler/export_name): allow constructors to be exported with a different name
2019-02-08 16:36:08 -08:00
Leonardo de Moura
4734e55f6d
feat(library/init/data): tail recursive append
2019-02-08 16:35:20 -08:00
Leonardo de Moura
4ce415cbde
chore(boot): update
2019-02-08 11:12:13 -08:00
Leonardo de Moura
b09be6d0a5
fix(library/compiler/emit_cpp): missing { }
2019-02-08 11:06:29 -08:00
Leonardo de Moura
01119b529f
test(tests/compiler): add thunk test
...
This test will take a long time if `thunk` result is not cached.
2019-02-08 11:01:33 -08:00
Leonardo de Moura
afc2569f7c
fix(library/init/data/nat/basic): tail recursive nat.repeat
2019-02-08 11:00:48 -08:00
Leonardo de Moura
4339afc802
chore(library/compiler): [extname] ==> [export]
2019-02-08 10:25:21 -08:00
Max Wagner
3164801a83
fix(library/vm): unary op dummies copy-paste error
2019-02-08 09:56:20 -08:00
Max Wagner
e663f75fb2
chore(library/compiler): move builtins into the environment
2019-02-08 09:56:03 -08:00
Leonardo de Moura
e2ee2d4bd9
chore(tests/compiler): add deriv test
2019-02-07 16:56:40 -08:00
Leonardo de Moura
259941c184
chore(tests/compiler/test_flags): include release flags
...
@kha The `-O3` option is not at CMAKE_CXX_FLAGS, but in build mode
specific configuration. I added this hack because I want to include
performance tests too. Perhaps, I should move performance tests to a
different directory.
2019-02-07 16:30:30 -08:00