Commit graph

734 commits

Author SHA1 Message Date
Ayaz Hafiz
ed04c2040a
Push the layout interner through the backends 2022-08-31 14:33:52 -05:00
Ayaz Hafiz
b44d68aac5
Handle Roc's return by pointer flowing into a C ABI return by pointer 2022-08-29 08:56:22 -05:00
Brian Carroll
6cada1ab6e
Try (unsuccessfully) to fix an LLVM code gen bug
We still get a panic as follows:

cargo run run --debug examples/static-site-gen/app.roc -- examples/static-site-gen/input examples/static-site-gen/output

 Stored value type does not match pointer operand type!
  store { [0 x i64], [24 x i8], i8, [7 x i8] }* %result_value, { [0 x i64], [24 x i8], i8, [7 x i8] }* %0, align 8
 { [0 x i64], [24 x i8], i8, [7 x i8] }*
2022-08-28 23:58:42 +01:00
Richard Feldman
3ca9202e3b
Merge pull request #3834 from roc-lang/rust-1.63-clippy
rust 1.63 clippy
2022-08-27 21:15:36 -04:00
Richard Feldman
7e3a10906c
Merge pull request #3888 from roc-lang/windows-cross-compilation
windows cross compilation
2022-08-27 07:59:05 -04:00
Folkert de Vries
51d5aa789a
Merge pull request #3870 from roc-lang/dev-backend-div
add int/float division to the dev backend
2022-08-25 09:03:19 +02:00
Folkert
8ca7ee1e14
build zig builtins for windows 2022-08-24 16:59:06 +02:00
Folkert
a22e04361c
Merge remote-tracking branch 'origin/main' into expect-fx-codegen 2022-08-23 16:28:21 +02:00
Folkert
2d366acc6e
split out int and frac division into separate lowlevels 2022-08-23 11:07:38 +02:00
Folkert
f3f6f58d09
clippy fixes 2022-08-21 16:43:57 +02:00
kilianv
731f10981e Swap the argument order in bitwise shift operators
The arguments were probably swapped in the first place because in Elm
they are swapped, because Elm is curried. The new order makes more sense
both with and without the pipe operator
2022-08-20 20:33:10 +02:00
Ayaz Hafiz
cefbf3aa51
Unwrap lambda sets in cc type choosing 2022-08-19 22:16:41 -05:00
Folkert
3aa4ebb02f
get expect-fx to actually run 2022-08-12 23:03:01 +02:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Folkert
10b6f33ed2
boilerplate 2022-08-12 13:34:36 +02:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +02:00
Folkert
a5293e2a60
and add non-nullable unwrapped 2022-08-06 18:27:04 +02:00
Folkert
be4e98e076
add recursive unions 2022-08-06 17:40:12 +02:00
Folkert
546b702740
nullable wrapped tags 2022-08-06 14:40:00 +02:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Richard Feldman
d260d1e593
Make entry points optional in code gen 2022-08-03 19:50:24 -04:00
Folkert de Vries
8f67129eae use platform-independent tempdir 2022-08-03 21:58:02 +02:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
raleng
36f97b1925
Use build_int_unsigned_rem for unsigned ints 2022-08-02 18:29:11 +02:00
raleng
c54d99df7f
Check rhs == -1 only for signed ints 2022-08-02 18:28:41 +02:00
Folkert
2514e7d845
implement non-recursive tags 2022-07-28 22:02:21 +02:00
Folkert
64be250a15
setup for recursive tags 2022-07-28 17:15:39 +02:00
Folkert
e61f025fef
implement expect box reporting 2022-07-28 17:01:33 +02:00
Folkert
1bfac155ca
implement expect struct reporting 2022-07-28 16:47:02 +02:00
Folkert
dbbbc32583
changes after review 2022-07-28 16:25:14 +02:00
Folkert
8e5b0daa94
figured out how to serialize nested structures 2022-07-27 23:52:11 +02:00
Folkert
fc01a0ee44
ignore if set_shared_buffer is not defined 2022-07-27 23:50:06 +02:00
Folkert
631c642950
store the start of the value for each variable in a table 2022-07-27 21:32:49 +02:00
Folkert
da74585786
switch to load/store instead of phi because of weird bug 2022-07-27 19:27:55 +02:00
Folkert
f7452b8889
pass the shared buffer to zig directly 2022-07-27 17:16:12 +02:00
Folkert
b132b1fa89
fix non-recursive tag unions in expects 2022-07-27 14:44:43 +02:00
Folkert
498004c554
clean up expect code when not running tests 2022-07-27 12:26:03 +02:00
Folkert
eefb23e433
DCE expect helper for non-expect code gen 2022-07-27 12:07:51 +02:00
Folkert
40d7e94a17
make the mmapped buffer configurable 2022-07-26 23:36:25 +02:00
Folkert
d3cb0e03d4
fix bug with incrementing elem loop on empty range 2022-07-25 21:15:15 +02:00
Folkert de Vries
834378503f
Merge pull request #3625 from rtfeldman/multiple-expects
Multiple expects
2022-07-25 00:04:37 +02:00
Folkert
9cb611e540
clippy 2022-07-24 16:49:42 +02:00
Folkert
11c0ca2f1b
wasm test wrapper: don't return dangling pointers 2022-07-24 16:28:41 +02:00
Folkert
d87c079620
change how tags are created
wasm in optimize mode just removed the whole tag creation
2022-07-24 15:50:54 +02:00
Folkert
2181d4c498
cleanup 2022-07-24 14:11:37 +02:00
Folkert
05a7d76a5e
update StrGetUnsafe 2022-07-24 13:34:14 +02:00
Folkert
f7d1ba6952
fix list sorting 2022-07-24 13:24:28 +02:00
Folkert
c274ada741
more cleanup 2022-07-24 13:21:00 +02:00
Folkert
9f37e73ae5
cleanup 2022-07-24 13:18:53 +02:00