Commit graph

442 commits

Author SHA1 Message Date
Folkert
5cb7dbd3cc use zig's decref instead of an LLVM implementation 2021-09-01 16:58:05 +02:00
Richard Feldman
71a678c092 Update Dict.walk to match List.walk 2021-08-30 23:05:15 -04:00
Richard Feldman
1abebb7713 Reorder args for List.walk and friends 2021-08-30 22:45:10 -04:00
Folkert
727222bbe7 hashing always returns a U64 2021-08-29 00:51:48 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Joshua Hoeflich
a4197d073c bytesToU16 and bytesToU32 have proper types 2021-08-18 15:46:53 -05:00
Joshua Hoeflich
b4f575736b castToNat working 2021-08-18 11:31:48 -05:00
Joshua Hoeflich
92da003fba Adds castToNat 2021-08-18 11:02:20 -05:00
Joshua Hoeflich
7068da7144 Merge trunk 2021-08-17 08:47:40 -05:00
Folkert
5171d181ac emit invoke again to see what's up here 2021-08-16 20:44:55 +02:00
Joshua Hoeflich
1c6ac84f2f Add Num.round to dev backend 2021-08-15 17:50:07 -05:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Joshua Hoeflich
22e781259d TODO: Actually implement the functions 2021-08-14 19:28:13 -05:00
Joshua Hoeflich
9dad304e95 Passing arguments successfully to bytesToU16 2021-08-14 19:11:27 -05:00
Joshua Hoeflich
5115a004ed Type shenanigans work 2021-08-14 18:50:55 -05:00
Joshua Hoeflich
c8f6762deb Switch from floats to usize 2021-08-14 18:30:43 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Folkert
4140473f1a cleanup and comments 2021-08-11 01:12:46 +02:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
17ec118f52 Work in progress: Bounds Checking 2021-08-08 12:02:20 -05:00
Joshua Hoeflich
4231b340ee Glue code working 2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Folkert
23ea151d5f make decimal math ops correctly report overflow 2021-07-18 22:04:32 +02:00
Folkert
bba1d1b4fe Merge remote-tracking branch 'origin/trunk' into add-dec-types 2021-06-27 16:26:20 +02:00
Jared Ramirez
ecb89da7b8 Add basic Dec operations 2021-06-25 10:25:03 -07:00
Jared Ramirez
0827123c88 Adding Decimals work!! 2021-06-24 11:15:52 -07:00
Folkert
27308e98b7 use morphic update mode 2021-06-22 20:53:55 +02:00
Richard Feldman
5b91de40db Only include_bytes when actually building 2021-06-06 00:51:17 -04:00
Richard Feldman
1bd3f12776 Fix a bunch of Int docs 2021-06-03 21:31:47 -04:00
tarjei
107822a5cc Add plumbing for List.swap 2021-05-29 21:30:16 +02:00
Richard Feldman
829edd509c Include builtins.bc in the roc binary 2021-05-26 20:45:27 -04:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Folkert
d620005cf3 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-24 18:24:22 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
25ec057b2b write List.set in zig 2021-05-22 22:13:54 +02:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
27f8465e9c clippy 2021-05-15 23:59:54 +02:00
Folkert
80423bac76 fix copy mistake 2021-05-14 12:56:35 +02:00
Folkert
fd422ab1d2 remove dead code 2021-05-14 12:49:15 +02:00
Folkert
087ee18f09 use macros in preparation for lambda set inference 2021-05-14 12:42:25 +02:00
Folkert
ca78439756 working Set.walk 2021-05-14 12:35:44 +02:00
Folkert
d25b1dc549 fix final list test 2021-05-14 01:02:16 +02:00
Folkert
1ee1a8114b more builtins 2021-05-14 00:41:39 +02:00
Folkert
f39bc34b8f add closure union to some builtins 2021-05-14 00:25:29 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00