Folkert de Vries
a5a91d428f
Merge pull request #5336 from roc-lang/dev-backend-list-map
...
dev backend: many more builtins
2023-05-01 10:20:15 +02:00
Folkert
25d2d090e8
make box decrement its contents when free'ing
2023-04-28 18:11:39 +02:00
Folkert
f6ebeff298
unboxing of non-recursive tag unions
2023-04-26 22:17:18 +02:00
Folkert
67281b2712
handle lambda set when passed as a function argument
2023-04-08 20:14:15 +02:00
Folkert
c6de2c4a58
re-wrap a named type in morphic spec generation
2023-04-02 19:01:00 +02:00
Ayaz Hafiz
4936708b18
Add gen test
2023-03-30 18:20:09 -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
Folkert
816828040d
tests for boxing/unboxing floats
2023-02-18 16:42:45 +01:00
Folkert
ee79a311f9
dev: box and unbox 16-bit and 8-bit values
2023-02-18 16:42:40 +01:00
Folkert
49d52f5d9a
dev: box and unbox 32-bit value
2023-02-18 16:42:39 +01:00
Folkert
eb48f01f63
Str.startsWith, str.endsWith and friends
2023-02-11 00:51:04 +01:00
Folkert
8df8c19ae2
dev backend: Box.unbox and List.get str
2023-02-10 20:19:50 +01:00
Folkert
4d1a6b17a8
dev backend: box a str
2023-02-10 20:19:50 +01:00
Folkert
b022175489
implement Box.box and Box.unbox in the dev backend
2023-02-08 13:51:30 +01:00
Ayaz Hafiz
6193f0be85
Turn test back on
2023-01-25 18:06:11 -06:00
Ayaz
ed7123ed5b
Merge pull request #4887 from roc-lang/weakening-5
...
Finish weakening let-bindings
2023-01-17 12:47:12 -06:00
Ayaz Hafiz
ec8c6bdfc5
Add gen tests for #4734
...
Closes #4734
2023-01-16 12:45:09 -06:00
Ayaz Hafiz
3109b2b00f
Store args/return layout in the lambda set specialization layout
2023-01-16 12:45:08 -06:00
Ayaz Hafiz
52c2f3a054
Weaken zero-argument tags in let bindings
2023-01-16 10:49:16 -06:00
Ayaz Hafiz
04cf7e070d
Weaken let-bindings to if expressions
2023-01-12 10:02:21 -06:00
Folkert
cf15654ee5
implement standard as patterns in mono IR
2023-01-11 14:18:13 +01:00
Brian Carroll
d389601035
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_test_gen
2022-12-16 14:50:09 +00:00
Ayaz Hafiz
1262198f7a
Add gen test for #4712
2022-12-12 14:58:41 -06:00
Brian Carroll
deab384d02
test_gen: u64 is not always the same size as a pointer, guys, jeez
2022-12-10 00:52:23 +00:00
Ayaz Hafiz
33a9c39cfd
Update gen tests that have changed due to emplacement
2022-11-16 14:05:52 -06:00
Ayaz Hafiz
bd9c9cc184
Replace busted gen test with reporting test
2022-11-11 21:16:26 -06:00
Ayaz
da1d937277
Merge pull request #4352 from roc-lang/i4349
...
Support monomorphic captures of body-polymorphic expressions in closures
2022-11-01 15:21:30 -05:00
Ayaz Hafiz
debe6332c5
Support OIOP for type aliases
2022-10-31 09:38:21 -05:00
Ayaz Hafiz
ee8e718cc1
Support monomorphic captures of polymorphic expressions in closures
...
Closes #4349
2022-10-23 20:44:03 -05:00
Ayaz Hafiz
7986514d20
Use runtime representation of values when building structural eq
...
Closes #4348
2022-10-17 11:36:57 -05:00
Ayaz Hafiz
0b02ef2803
Fix gen-tests except those that rely on Bool eq
2022-10-12 16:37:50 -05:00
Ayaz Hafiz
7064d1c060
Gen test for char pattern matching
2022-10-05 17:28:01 -05:00
Ayaz Hafiz
fd7b4ec9fc
Turn off gen-dev test for now
2022-09-20 14:42:09 -05:00
kilianv
9717747a54
Update tests
...
not all tests pass yet. Will look at them with Ayaz.
2022-09-20 14:42:03 -05:00
Folkert
5d60ffeebf
disable a segfaulting test on windows
2022-09-09 23:20:11 +02:00
Folkert
e9f66a6385
Merge remote-tracking branch 'origin/main' into i3696
2022-08-22 23:02:35 +02:00
Brian Carroll
334bc7174f
Merge pull request #3742 from roc-lang/cleanup-mono-layout
...
Cleanup/refactoring of lambda set layout generation
2022-08-20 15:48:05 +01:00
Ayaz Hafiz
d1c21e3fcd
Add polymorphic expression reproduction cases from #1745
...
These work now that we have ways to compile polymorphic expressions.
Closes #1745
2022-08-19 22:21:50 -05:00
Ayaz Hafiz
099fbf46eb
Suspend specialization of symbols that collide with an active specialization
...
It's possible to end up in a situation where you attempt to specialize a
symbol while it's being specialized for another type; see the examples
in the diff. In this case, we need to treat the later specialization as
suspended, and recover it later.
2022-08-19 22:20:57 -05:00
Ayaz Hafiz
b18af7e1f3
Fix return type of closure
2022-08-19 22:16:41 -05:00
Ayaz Hafiz
6bcd682dde
Support captures between mutually recursive closures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
4b55416ca1
Add test for outer scope transient captures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
5ead673cfc
Add gen tests for transient closure captures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
aa26a0da44
Add regression tests for #2419
...
Closes #2419
2022-08-12 15:42:19 -07:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos
2022-08-12 15:24:09 -04:00
Ayaz Hafiz
4d5331557c
Add more tests for recursie lambda sets
2022-08-09 16:12:30 -07:00
Ayaz Hafiz
f20d1ac59a
Typo
2022-08-09 15:30:28 -07:00