Commit graph

378 commits

Author SHA1 Message Date
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
Folkert
6223892c6b include the tag id in the hash! 2021-06-29 22:30:36 +02:00
Folkert
98a9dc0945 remove tag id from data bytes for non-recursive tags 2021-06-26 17:01:23 +02:00
Jared Ramirez
ecb89da7b8 Add basic Dec operations 2021-06-25 10:25:03 -07:00
Folkert
fc4f04dbd8 clean up variable names 2021-06-24 21:21:07 +02:00
Folkert
8d9f5b078e fix ffi 2021-06-24 21:11:25 +02:00
Jared Ramirez
0827123c88 Adding Decimals work!! 2021-06-24 11:15:52 -07:00
Folkert
f8bdf05f90 has_tag_id from zig 2021-06-24 20:12:05 +02:00
Jared Ramirez
4d6e5a1a4f [WIP] Add Dec/Decimal builtin types 2021-06-23 19:30:16 -07:00
Richard Feldman
4a5df543a5
Merge pull request #1432 from rtfeldman/morphic-lowlevel
Morphic lowlevel
2021-06-22 23:46:51 -04:00
Folkert
27308e98b7 use morphic update mode 2021-06-22 20:53:55 +02:00
Richard Feldman
ebf7e6e3b9 Add RocStr.capacity and isNullTerminated 2021-06-21 19:05:12 -04:00
Richard Feldman
d11f42743c Update a comment 2021-06-21 19:05:12 -04:00
Richard Feldman
bdc0456996 Drop unused function which failed on small strings 2021-06-21 19:05:12 -04:00
Richard Feldman
6b8c39c8cb Don't hardcode 16 bytes in str.zig 2021-06-21 19:05:12 -04:00
Richard Feldman
89996c4b43 Drop obsolete comment 2021-06-21 19:05:12 -04:00
Folkert
f62a5c12b9 fix zig test 2021-06-19 23:03:13 +02:00
Folkert
e912edcfdd fix too many arguments 2021-06-19 21:26:06 +02:00
Jared Ramirez
711daee650 Fix variable names & clarify comments 2021-06-18 12:56:23 -07:00
Jared Ramirez
88aa8318f1 Refactor RocDec.toStr 2021-06-18 12:50:15 -07:00
Richard Feldman
fe9a2c1fc2 Average zig benchmarks 2021-06-16 23:53:04 -04:00
Richard Feldman
11b43c1128 Make zig benchmarks more like the Rust ones 2021-06-16 23:22:04 -04:00