Commit graph

1143 commits

Author SHA1 Message Date
Folkert
fa6d5c6955
fix ptr returned by wasm reset 2023-04-18 21:59:13 +02:00
J.Teeuwissen
363e2e1074
Merge branch 'main' into Frame-Limited 2023-04-18 07:19:54 +02:00
Folkert
c848a85eb4
fix index bug in recursive decrements 2023-04-17 14:22:27 +02:00
J.Teeuwissen
a4ca864fe3
fixed test 2023-04-16 13:35:35 +02:00
J.Teeuwissen
1586628bb0
removed last must_own_arguments 2023-04-12 14:04:43 +02:00
Folkert
9c07eae680
make the list_map benchmark compile again 2023-04-11 16:45:20 +02:00
Kiryl Dziamura
8d49dc0603
Format rust 2023-04-11 15:50:52 +02:00
Kiryl Dziamura
54992fb436
Add large bits test cases 2023-04-11 13:42:38 +02:00
Kiryl Dziamura
fb0a64dc22
Implement Num.absDiff 2023-04-11 12:16:54 +02:00
Folkert
649b2775b2
enable more gen_tags tests 2023-04-09 18:27:40 +02:00
Folkert
d4bb5053b8
make function names unique by adding layout hash 2023-04-09 18:18:39 +02:00
Folkert
c36a82d134
fix return type/CC issue 2023-04-09 16:52:53 +02:00
Folkert
9f8fb61281
fix assert 2023-04-09 16:49:19 +02:00
Folkert
cd95920d60
implement passing of non-recursive tag unions to functions 2023-04-09 15:15:56 +02:00
Folkert
679337e4c4
fix alignment issue in union creation 2023-04-09 15:13:24 +02:00
Folkert
2a4c4f0403
enable more tag dev tests 2023-04-09 14:46:53 +02:00
Folkert
079dd4c51e
ensure literal loading happens independently in branches 2023-04-09 14:41:16 +02:00
Folkert
67281b2712
handle lambda set when passed as a function argument 2023-04-08 20:14:15 +02:00
Folkert
fdffcc8b36
handle all comparison widths 2023-04-08 19:17:11 +02:00
Folkert
9dd69f6f9c
Revert "WIP fix for zig functions returning Bool (strEqual)"
This reverts commit 09b01893c6.
2023-04-08 16:56:25 +02:00
Folkert
09b01893c6
WIP fix for zig functions returning Bool (strEqual) 2023-04-08 16:11:04 +02:00
Folkert
751e7fbf1e
enable more tag dev tests 2023-04-08 14:12:37 +02:00
Folkert
45ac4cd46e
enable more tag dev tests 2023-04-08 13:35:04 +02:00
Folkert
ab2cc76717
special-case true/false loading 2023-04-08 13:30:35 +02:00
Folkert
b982d1a442
enable more tag dev tests 2023-04-08 13:17:23 +02:00
Folkert
a7aa9530b6
load literal symbols when inserting a jump 2023-04-08 13:15:22 +02:00
Folkert
aa54033dd2
enable more tag dev tests 2023-04-08 13:02:24 +02:00
Folkert
1947bbcd0e
encode Bool.true/Bool.false more intelligently 2023-04-08 12:57:52 +02:00
Folkert
c6de2c4a58
re-wrap a named type in morphic spec generation 2023-04-02 19:01:00 +02:00
Richard Feldman
7af55bafe6
Merge pull request #5224 from roc-lang/str-docs
Expand some `Str` docs
2023-04-02 09:49:16 -04:00
Ayaz Hafiz
4936708b18
Add gen test 2023-03-30 18:20:09 -05:00
Richard Feldman
c3c1b8d083
Add Str.walkUtf8 2023-03-29 21:23:13 -04:00
Folkert de Vries
7a77702e78
Merge pull request #5190 from roc-lang/pluggable-glue
Pluggable glue
2023-03-29 23:15:57 +02:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue 2023-03-29 19:43:59 +02:00
Ayaz Hafiz
f458da0cbc
Implement Hash for Bool 2023-03-28 15:04:45 -05:00
Ayaz Hafiz
3f532df981
Generate code for recursive nullable wrapped lambda sets 2023-03-27 10:11:49 -05:00
Ayaz Hafiz
0f73c25c0c
Add gen test for recursion var resolved upon specialization 2023-03-27 10:11:48 -05:00
Ayaz Hafiz
8a32747bc8
Clippy 2023-03-25 16:14:31 -05:00
Ayaz Hafiz
628fd6a49f
Add gen test for #5176 2023-03-25 16:14:31 -05:00
Ayaz
61dd5cc8c7
Merge pull request #5179 from roc-lang/i5143-tuple-abilities
Implement ability obligation checking and derivation for tuples
2023-03-25 15:51:39 -05:00
Ayaz Hafiz
e6094df69b
Fast-path for determining ability member impls for builtin opaques 2023-03-22 17:08:41 -05:00
Ayaz Hafiz
1b087df287
Add gen tests for decoding tuples 2023-03-22 16:56:22 -05:00
Folkert de Vries
ffaa4a1c1d
Merge pull request #5178 from roc-lang/i5089
Ranged number abilities are derived and compiled correctly
2023-03-22 22:21:18 +01:00
Ayaz Hafiz
c7bd430026
Gen tests for derived tuple encoding 2023-03-22 11:40:55 -05:00
Ayaz Hafiz
72c9b76f23
Gen Eq test for tuple 2023-03-22 10:55:15 -05:00
Ayaz Hafiz
143f39d273
Gen tests for derivation of tuple hash 2023-03-22 10:53:14 -05:00
Ayaz Hafiz
240c1f35d6
Ranged number abilities are derived and compiled correctly
Closes #5089
2023-03-22 09:42:06 -05:00
Ayaz Hafiz
3a960e7809
Properly recast nested recursion pointers to their expanded layouts as needed
When we load a structure with a nested recursive pointer, the pointer
may be loaded opaquely. We need to refine it to the concrete type wanted
by the layout.

This conversion can be removed after we upgrade to LLVM 15.

Closes #5162
2023-03-22 08:21:08 -05: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