Folkert
821cc0cfd8
env variable for writing out the obj file
2023-09-16 00:51:14 +02:00
Folkert
f30b0bdf68
disable some debugging stuff
2023-09-15 23:10:43 +02:00
Folkert
cfe21a4894
safe generated object file
2023-09-15 23:07:27 +02:00
Folkert
63ff495763
call the main function directly on aarch64?
2023-09-15 23:07:27 +02:00
Folkert
bcfab8d09e
fix relocation size
2023-09-15 23:07:26 +02:00
Luke Boswell
6ecc72f68e
log location of gen-test object location
2023-09-03 21:32:36 +02:00
Folkert
7fb4b60b21
move around hostexposedalias logic
2023-08-09 15:09:03 +02:00
Folkert
8d4e83c3bb
remove lazy_static dependency in test_gen
2023-08-05 18:37:37 +02:00
Folkert
4cfa7c124d
better way of fetching the error message
2023-07-30 20:44:14 +02:00
Luke Boswell
c4b8a6e8f2
windows patches
2023-07-30 20:44:13 +02:00
Folkert
863ba06269
disable development flag
2023-07-30 20:44:12 +02:00
Folkert
d5bf526d66
fix calling convention problems
2023-07-30 20:44:11 +02:00
Folkert
f692c8dabf
consistent printing of the error message
2023-07-30 20:44:11 +02:00
Folkert
f59eed6366
so close
2023-07-30 20:44:10 +02:00
Folkert
644def72f1
working happy path
2023-07-30 20:44:10 +02:00
Folkert
d3ac7d616d
WIP
2023-07-30 20:44:09 +02:00
Folkert
8c99cdf817
working codegen
2023-07-30 20:44:07 +02:00
Folkert
10aa4f58c9
WIP
2023-07-30 20:41:33 +02:00
Ayaz Hafiz
016862ca28
Fix types
2023-07-12 17:52:05 -05:00
Ayaz Hafiz
f2f80f390d
Add erasure llvm test
2023-07-12 14:43:25 -05:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
...
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Ayaz Hafiz
60c98ea5d5
Stray clippy ignore
2023-07-12 13:53:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Folkert
8738c95d6f
give 0
as a value to our enum attributes
2023-06-27 00:07:33 +02:00
Ayaz Hafiz
41597cbab7
Do not make LayoutInterner mutable
2023-06-17 18:13:03 -05:00
Ayaz Hafiz
00945ff2eb
Always print llvm on failure
2023-06-16 10:30:40 -05:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy
2023-06-02 15:23:05 -07:00
Ayaz Hafiz
bbcd9c3a52
Debug LLVM IR in tests
2023-05-24 12:41:54 -05:00
Folkert
66be08d073
allow configure of whether roc_alloc is generated
2023-05-01 18:41:47 +02:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue
2023-03-29 19:43:59 +02:00
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
...
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Anton-4
f11bf90d6d
values name change
2023-03-21 11:34:10 +01:00
Anton-4
9c0d2a2eb0
some style changes
2023-03-18 14:22:52 +01:00
Anton-4
f1b1aa6a7b
Merge branch 'main' of github.com:roc-lang/roc into glue-getters-rtfeldman
2023-03-17 11:34:29 +01:00
Folkert
8b00e071ab
fix wrong field name in wasm helpers
2023-03-15 22:17:23 +01:00
Brendan Hansknecht
b8e42b05a2
misc cleanup
2023-03-15 13:25:45 -07:00
Brendan Hansknecht
8f96295ab1
fix wasm test loading of seamless slices
2023-03-15 13:23:35 -07:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
...
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Brendan Hansknecht
d5e191d083
split up bitcode building to reduce dependency chains
2023-03-10 09:39:43 -08:00
Folkert
eb48f01f63
Str.startsWith, str.endsWith and friends
2023-02-11 00:51:04 +01:00
Folkert
625b9c161a
implement wasm traits for roc_std::RocBox
2023-02-09 14:55:08 +01:00
Folkert de Vries
6fc57f0a0c
Merge pull request #4976 from thehabbos007/list-concat
...
gen_dev: add `List.concat` and fix element width bug
2023-01-28 13:56:36 +01:00
Ahmad Sattar
2f620f048e
Address clippy lint for gen-dev
2023-01-28 01:53:55 +01:00
Folkert
7cc5aa243b
fix some comments
2023-01-27 11:24:47 +01:00
Ayaz
ea53a50447
Merge pull request #4836 from roc-lang/intern-layouts-2
...
Intern list element layouts and thread mut layout interner through LLVM backend
2022-12-29 18:41:35 -06:00
Ayaz
7076c889a5
Merge pull request #4828 from roc-lang/refactor-build
...
Refactor build
2022-12-29 18:41:22 -06:00
Ayaz Hafiz
759f8d86af
Fix lifetime errors due to interner
...
In the llvm backend, there are the lifetimes `'a` (lifetime of the
global arena) and `'ctx` (lifetime of constructed LLVM values). `'a`
lives longer than `'ctx`, but the compiler didn't enforce this until
the layout interner was introduced, for some reason. We have to make
sure that containers of lifetime `'a` have no `'ctx` references.
2022-12-29 11:38:34 -06:00
Folkert
aca8d98ad9
fix dev test compilation
2022-12-29 16:50:22 +01:00
Folkert
23b52894cc
fix test
2022-12-29 16:50:21 +01:00
Folkert
26e5ac85d4
remove argument from the from_str functions
2022-12-29 16:50:19 +01:00