Commit graph

2036 commits

Author SHA1 Message Date
Ayaz Hafiz
05d8bca0fb
Move DeriveBuiltin to derive_key 2022-08-02 14:29:49 -05:00
Ayaz Hafiz
6f06a59cdf
Condition derive tests on derived method 2022-08-02 14:28:20 -05:00
Ayaz Hafiz
c3383da994
Refactor deriving tests to put testing utilities in separate module
As we prepare to add derivers for Decoders, we'll want to use this same
infrastructure for Decoder derive tests. This pulls out the common test
infrastructure into a separate module under test_derive.
2022-08-02 14:28:20 -05:00
Ayaz
fa14146054
Merge pull request #3531 from rtfeldman/decode
Very basic Decode.roc in the standard library
2022-08-02 14:26:28 -05:00
Folkert de Vries
614044e6a0 ugh 2022-08-02 21:26:13 +02:00
Folkert de Vries
86a1a0f401
Merge pull request #3643 from rtfeldman/disjoint-able-variable-specialization
Disjoint able variable specialization algorithm
2022-08-02 20:31:47 +02:00
Folkert de Vries
b0b6d89480 revert some stuff that slipped through 2022-08-02 20:25:55 +02:00
Folkert de Vries
86f2bb4343 add darwin as a supported OS 2022-08-02 19:54:44 +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 de Vries
0c72bf7e1f formatting 2022-08-02 18:06:29 +02:00
raleng
06f1bead96
Enable gen_llvm is_multiple_of_unsigned test 2022-08-02 16:00:29 +02:00
Folkert de Vries
fc369ddebb windows create dylibs for gen tests 2022-08-02 15:38:05 +02:00
Folkert de Vries
f601a56d52 Revert "be explicit about the target"
This reverts commit 882ac1ea48.
2022-08-02 15:37:38 +02:00
Ayaz Hafiz
6536a69c5b
Remove stray panic 2022-08-02 08:21:53 -05:00
Ayaz Hafiz
394a76a7cd
Remove unused arg 2022-08-02 08:15:54 -05:00
Ayaz Hafiz
fc9ff928eb
Choose non-recursion var when merging arbitrary variables, when possible.
Closes #3669
2022-08-02 08:15:54 -05:00
Folkert de Vries
882ac1ea48 be explicit about the target
on windows, the file extentions are not enough to derive the target
2022-08-02 14:55:38 +02:00
Richard Feldman
59886d4225
Merge pull request #3684 from rtfeldman/refcount-overflow
Change refcounts to assume overflows are impossible
2022-08-02 08:43:24 -04:00
Folkert de Vries
19159d170a Merge remote-tracking branch 'origin/trunk' into windows-linking 2022-08-02 14:11:02 +02:00
Folkert de Vries
d62691406f enable compiler rt 2022-08-02 14:09:53 +02:00
Folkert de Vries
e09739caec
Merge pull request #3678 from rtfeldman/no-canonicalize
Don't use fs::canonicalize in CLI
2022-08-02 14:08:19 +02:00
Folkert de Vries
c296b5a5ac remove useless conversion 2022-08-02 14:06:14 +02:00
Brendan Hansknecht
ca8b052094
switch to wrapping subtract since it is safe here 2022-08-01 22:32:43 -07:00
Brendan Hansknecht
afaf59a050
change refcounts to assume overflows are impossible 2022-08-01 22:32:43 -07:00
Folkert de Vries
ed9b7da4a3
Merge pull request #3675 from rtfeldman/remove-todo-opaques
Remove references to todo_opaques
2022-08-02 00:43:14 +02:00
Folkert de Vries
1366be4a50 formatting 2022-08-02 00:10:26 +02:00
Folkert de Vries
6342729850 emit_bin is already in the string 2022-08-02 00:02:36 +02:00
Folkert de Vries
5061a67534
Merge pull request #3642 from rtfeldman/can-abilities6
Syntactic abilities: Part 6 - eager lambda set specialization, and fix ability let-generalization
2022-08-01 23:57:56 +02:00
Folkert de Vries
8fe3c2b3e4 file running on windows 2022-08-01 23:54:08 +02:00
Folkert de Vries
7df31619dd add the concept of an OS to target info 2022-08-01 23:53:17 +02:00
Folkert de Vries
6f3c8477e6 link_windows
just uses zig
2022-08-01 23:21:51 +02:00
Folkert de Vries
06e5fe8cba pick right host object name 2022-08-01 23:20:46 +02:00
Folkert de Vries
51fdd43838 explicitly indicate the output file 2022-08-01 23:12:53 +02:00
Folkert de Vries
23411ea147 add the Windows64 target 2022-08-01 23:10:31 +02:00
Richard Feldman
c098190341
Merge pull request #3662 from rtfeldman/call-opaques-by-what-they-are
Report opaques as opaques, not aliases
2022-08-01 15:15:08 -04:00
Richard Feldman
505e7dee56
Don't use fs::canonicalize 2022-08-01 15:11:55 -04:00
Ayaz Hafiz
2e6d7bfa2a
Remove references to todo_opaques
Opaque types are now fully implemented so this can be removed. roc_ast
is going away in favor of can, so references there have been replaced
with internal_error.
2022-08-01 13:24:29 -05:00
Folkert de Vries
784d855cd9 windows line feed in when parsing 2022-08-01 19:24:02 +02:00
Folkert de Vries
e12847f9d8 conditional compilation fixes for windows 2022-08-01 19:10:42 +02:00
Anton-4
d6b62add36
fixed BUILTINS_HOST_OBJ_PATH not found 2022-08-01 18:54:16 +02:00
Ayaz Hafiz
e2f1417224
Update reporting test 2022-08-01 11:40:16 -05:00
Ayaz Hafiz
c9e7d4d92b
Add a list decoding test 2022-08-01 11:08:09 -05:00
Ayaz Hafiz
5ba646d3e0
Remove decodeElems and handle end-of-list appropriately 2022-08-01 11:07:27 -05:00
Ayaz Hafiz
ffb7f7a001
Naive decoding of lists 2022-08-01 10:12:45 -05:00
Ayaz Hafiz
03463a2a5e
Naive string decoding 2022-08-01 09:56:59 -05:00
Anton-4
0b5b3a8652
Merge branch 'trunk' of github.com:rtfeldman/roc into build-nix 2022-08-01 16:51:07 +02:00
Anton-4
43f9e2a7c3
fixes to make default.nix work 2022-08-01 16:50:38 +02:00
Ayaz Hafiz
d1880cae76
Add a comment 2022-08-01 09:50:18 -05:00
Ayaz Hafiz
e1c8b3c9b0
Format Json.roc 2022-08-01 09:48:38 -05:00