Commit graph

449 commits

Author SHA1 Message Date
Folkert
7d874e5c15 fix zig warning 2021-08-23 22:27:00 +02:00
Folkert
9037e57e14 fix zig usize/u64 issues 2021-08-23 21:45:12 +02:00
Folkert
9903e14cd3 update zig to compile on nightly 2021-08-23 21:41:13 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +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
2672c8ed10 NumBytesToU16 and NumBytesToU32 tested 2021-08-18 17:39:59 -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
Folkert
d8e38ef2ac proof of concept 2021-08-15 13:21:14 +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
8022e3e5f4 Rename var 2021-08-14 18:52:48 -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
d976f2fc93 Inlining zig side 2021-08-14 18:26:46 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ce8f947522 Split sig into two separate functions 2021-08-14 18:08:36 -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
Joshua Hoeflich
bd62347b11 Remove unnecessary lines from zig 2021-08-09 22:04:51 -05:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
b8b20a376a Passing without bounds checks 2021-08-08 11:26:49 -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
Richard Feldman
fca7d1cae1 Revert "bundle compiler rt when building assembly backend obj file"
This reverts commit fe4fc1c92a.
2021-07-25 20:40:55 -04:00
Folkert
59e551dd32 cleanup 2021-07-24 00:13:00 +02:00
Folkert
fda945f765 write thank you message 2021-07-21 15:22:32 +02:00
Folkert
bafb16091d explicitly include muloti4 in LLVM IR 2021-07-21 15:01:18 +02:00
Jared Ramirez
1b1d9a7ecf Merge branch 'add-dec-types' of https://github.com/rtfeldman/roc into add-dec-types 2021-07-18 14:13:59 -07:00
Jared Ramirez
a763e046fc Better inline of isDigit 2021-07-18 14:13:12 -07:00
Folkert
4b2804019d add unreachable based on invariants 2021-07-18 22:54:03 +02:00
Folkert
23ea151d5f make decimal math ops correctly report overflow 2021-07-18 22:04:32 +02:00
Folkert
074aba0012 less nullable 2021-07-18 20:00:41 +02:00
Folkert
b0a07558f1 decimal toStr maxInt and minInt tests 2021-07-18 19:52:05 +02:00
Folkert
bc88fc3880 refactor decimal toStr 2021-07-18 19:48:26 +02:00
Jared Ramirez
bb7e0097d1 Use constants; Inline RocDec.isDigit 2021-07-17 17:21:16 -07:00
Folkert
de21e90fdd don't link in zig compiler_rt to llvm bundle 2021-07-17 17:12:14 +02:00
Folkert
8f3427ce95 simpler to string conversion
more verbose, but does not pull in a whole bunch of zig formatting logic
2021-07-17 16:14:01 +02:00
Folkert
fe4fc1c92a bundle compiler rt when building assembly backend obj file 2021-07-14 14:25:54 +02:00
Jared Ramirez
c261766681 Appease clippy 2021-07-09 09:46:40 -07:00
Jared Ramirez
67eef2c97f Merge branch 'trunk' of https://github.com/rtfeldman/roc into add-dec-types 2021-07-08 16:47:42 -07:00
rvcas
3452037d44 chore: dict remove unused vars 2021-07-02 18:36:30 -04:00
rvcas
fb12715aba chore: list remove unused vars 2021-07-02 18:36:17 -04:00
rvcas
60f017cbd5 chore: utils ignore unused vars 2021-07-02 18:35:51 -04:00
rvcas
54bcf54f30 chore: dec remove redundant comptime 2021-07-02 18:35:13 -04:00