Commit graph

7372 commits

Author SHA1 Message Date
Folkert de Vries
4a593a5b77
Merge pull request #6442 from roc-lang/dev-backend-glue-primitives
Dev backend glue primitives
2024-01-29 00:08:51 +01:00
Folkert de Vries
c8c28140b7
Merge pull request #6449 from roc-lang/dict-mul-wrap
dict: use Num.mulWrap to prevent branches
2024-01-29 00:07:01 +01:00
Richard Feldman
0681929d6d
Update snapshot syntax tests 2024-01-28 17:34:47 -05:00
Richard Feldman
3be96e52d8
roc format 2024-01-28 16:35:57 -05:00
Folkert
b0d57587e3
List.get with negative index in repl 2024-01-28 22:21:40 +01:00
Richard Feldman
b21e75e359
Remove a nat suffix 2024-01-28 15:16:41 -05:00
Richard Feldman
d84de324d8
Update insta tests 2024-01-28 14:57:39 -05:00
Folkert
28ab81614c
fix duplicate test that trips up llvm-wasm 2024-01-28 19:22:49 +01:00
Anton-4
6338e54205
improve wording 2024-01-28 18:33:12 +01:00
Folkert
df3d04e92d
fix duplicate test that trips up llvm-wasm 2024-01-28 18:29:08 +01:00
Anton-4
30a5a2cfac
change hashtag formatting 2024-01-28 18:15:24 +01:00
Folkert
1ef0a8f39e
update mono tests 2024-01-28 16:54:04 +01:00
Folkert
d4cac5cdd9
dict: use Num.mulWrap to prevent branches 2024-01-28 16:53:23 +01:00
Folkert
bd0cb6338e
fix incorrect element width used for List.append in dev backend 2024-01-28 16:39:16 +01:00
Folkert de Vries
01761abede
Merge pull request #6447 from roc-lang/fix-dollar
Fix parsing strings with non-interpolated "$"
2024-01-28 00:38:37 +01:00
Richard Feldman
40fba2f1af
Fix parsing strings with non-interpolated "$" 2024-01-27 16:28:01 -05:00
Folkert
2794348722
fix bug in casting to u128/i128 2024-01-27 21:58:56 +01:00
Trevor Settles
579522a602
caught incorrect file ext 2024-01-27 10:27:14 -07:00
Folkert
919a51137a
make ROC_DEV_WRITE_OBJ work in more cases 2024-01-27 17:46:19 +01:00
Brendan Hansknecht
d76394ac31
Fix the nonnull attribute
The current version will fail if run through the `opt` tool.
nonnull should have no data attached.
2024-01-27 08:36:06 -08:00
Brendan Hansknecht
689a930082
Merge remote-tracking branch 'origin/main' into rust-1-72-upgrade 2024-01-27 08:07:48 -08:00
Folkert
076fafe02f
enable some float conversion tests for gen-dev 2024-01-27 15:04:30 +01:00
Folkert
1e744dca7c
missing functions for dev backend for glue 2024-01-27 14:51:09 +01:00
Agus Zubiaga
eb68bf943a
Merge branch 'main' into module-params 2024-01-27 09:36:20 -03:00
Brendan Hansknecht
bdbbfb36d1
add ROC_LINK_FLAGS support to linux 2024-01-26 20:55:16 -08:00
Richard Feldman
418731cb71
Update mono tests 2024-01-26 16:25:32 -05:00
Richard Feldman
204cee7d60
Clean up more unused Nat stuff 2024-01-26 16:23:21 -05:00
Richard Feldman
76dcbee25f
Drop unused target_info from layout 2024-01-26 16:23:21 -05:00
Richard Feldman
87ec602b1e
Fix gap in symbols 2024-01-26 16:23:21 -05:00
Richard Feldman
2b4d0d080b
Use Variable::U64 over Variable::NAT 2024-01-26 16:23:20 -05:00
Richard Feldman
eb3dc3d582
Drop unused import in Hash.roc 2024-01-26 16:23:20 -05:00
Richard Feldman
fb84c9487d
Remove Num.Natural, Num.toNat, and Num.toNatChecked 2024-01-26 16:23:20 -05:00
Richard Feldman
9518d76cd8
Remove Num.bytesTo___ functions
These may be reintroduced in some form later,
but they don't handle endianness and it's not
clear builtins are the right place for them.
2024-01-26 16:23:19 -05:00
Richard Feldman
ef634ba8e4
Remove Nat from documentation 2024-01-26 16:22:42 -05:00
Richard Feldman
bf660ad094
Remove Nat from tests 2024-01-26 16:19:52 -05:00
Richard Feldman
8f82bc38c0
Remove Nat from tests 2024-01-26 16:19:52 -05:00
Richard Feldman
c4497f2c1c
Remove Nat from Num 2024-01-26 16:19:51 -05:00
Richard Feldman
02bc54292f
Update fmt tests to not use Nat 2024-01-26 16:17:06 -05:00
Richard Feldman
502b0fddf2
Remove Nat from Hash, Inspect, Encode, Decode 2024-01-26 16:17:05 -05:00
Richard Feldman
5b2998966b
Update List.replace to no longer use Nat 2024-01-26 16:06:09 -05:00
Richard Feldman
a8918a4e3b
Update List.dropAt to no longer use Nat 2024-01-26 16:06:09 -05:00
Richard Feldman
4a870c8ee0
Update Nat to U64 in some comments 2024-01-26 16:06:09 -05:00
Richard Feldman
a71188dc30
Update List.sublist to no longer use Nat 2024-01-26 16:06:08 -05:00
Richard Feldman
2cf7b5b5ca
Update List.swap to no longer use Nat 2024-01-26 16:06:08 -05:00
Richard Feldman
27474d4ed8
Update List.reserve to no longer use Nat 2024-01-26 16:06:08 -05:00
Richard Feldman
e207a7ce53
Use Variable::U64 for List.len in file load 2024-01-26 16:06:08 -05:00
Richard Feldman
4a38d3a1af
Remove Nat from some compiler tests that use lists 2024-01-26 16:06:08 -05:00
Richard Feldman
7e51dfd526
Update test fixtures to not use Nat indices 2024-01-26 16:06:07 -05:00
Richard Feldman
70a1def63b
Update some docs to not reference Nat 2024-01-26 16:06:07 -05:00
Richard Feldman
ef030ae656
Update a comment 2024-01-26 16:06:06 -05:00