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
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
Brendan Hansknecht
48f17a8e2c
add Str.releaseExcessCapacity
2023-03-15 15:24:59 -07: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
1319ba4844
add List.releaseExcessCapacity builtin
2023-03-13 17:43:21 -07:00
Brendan Hansknecht
e6964536b2
add more Num.bytesTo* functions
2023-03-12 08:41:05 -07:00
Brendan Hansknecht
785da377c8
add Num.count*Bits functions
2023-03-12 08:41:04 -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
Brendan Hansknecht
75e996c445
remove unused dependencies and ignore false positives
2023-03-06 20:09:01 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit
2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded
2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec
2023-03-06 16:36:18 -08:00
Richard Feldman
82663fd30d
Merge pull request #5076 from roc-lang/fix-list-range
...
Fix List.range crashing
2023-03-01 19:29:24 -05:00
Brendan Hansknecht
865bae9468
clarify type for test
2023-02-27 18:41:31 -08:00
Brendan Hansknecht
f77d1dcd6b
fix List.range so that it will only crash when Length is too large
2023-02-27 16:01:05 -08:00
Folkert
1f296a5907
fix test I broke
2023-02-26 22:32:19 +01:00
Folkert
44f08f9e47
implement sqrt and log in the dev backend
2023-02-26 21:41:25 +01:00
Folkert
6a40d75353
float comparisions
2023-02-26 18:14:11 +01:00
Folkert
f1fa014524
support 128-bit literals
2023-02-26 15:11:49 +01:00
Folkert de Vries
34340de60c
Merge pull request #5020 from roc-lang/dev-unbox-u32
...
dev backend: reading and writing 32, 16 and 8-bit values
2023-02-21 17:33:21 +01:00
Folkert de Vries
bd6623dab4
Merge pull request #5055 from roc-lang/abilities-bug-generic
...
Lambda set compaction must preserve unique specializations of concrete types
2023-02-21 15:24:23 +01:00
Ayaz Hafiz
7a4fed932d
Add gen tests for concerete unspecialized set conservation
2023-02-20 18:59:48 -06:00
Folkert de Vries
c6089ebb6a
Merge pull request #5041 from thehabbos007/eq
...
gen_dev x86: misc low-level bool comparison functions
2023-02-20 08:51:11 +01:00
Folkert
5b52cfe79b
disable str_append_scalar; it segfaults for unclear reasons
2023-02-18 23:18:48 +01:00
Folkert
bece06ba10
work around universally quantified type variable
2023-02-18 18:12:32 +01:00
Folkert
03867fdc1f
str to num
2023-02-18 16:42:46 +01:00
Folkert
93fb1c73e6
str splits
2023-02-18 16:42:46 +01:00
Folkert
a3d5e7bee5
fully implement sign/zero extension
2023-02-18 16:42:46 +01:00
Folkert
4e38a4ce32
enable some utf8 conversion tests
2023-02-18 16:42:46 +01:00
Folkert
aa113f169c
string equality
2023-02-18 16:42:45 +01:00
Folkert
816828040d
tests for boxing/unboxing floats
2023-02-18 16:42:45 +01:00