Commit graph

257 commits

Author SHA1 Message Date
Chad Stearns
a3720e6c3d Fixed algorithm problem in Str.split, that would drop the final str in the return list if it was empty 2020-11-16 02:04:55 -05:00
Chad Stearns
8b0957a424 Fix and clean up zig small str init 2020-11-15 19:24:13 -05:00
Chad Stearns
4ac5d5ffd5 Non-functional, but apparently complete small str initialization for Zig RocStr 2020-11-15 03:48:36 -05:00
Chad Stearns
36789e2582 More Str.split tests 2020-11-11 02:09:44 -05:00
Chad Stearns
58f0c48338 Str.split works for big str 2020-11-08 15:01:52 -05:00
Chad Stearns
9bedb818cb Fix spelling error in bitcode function name 2020-11-08 13:04:13 -05:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Richard Feldman
53bec064f3
Fix some typos in comments 2020-11-07 22:04:32 -05:00
Chad Stearns
006bc6163b Fix typo from segements to segments 2020-11-07 02:26:41 -05:00
Jared Ramirez
11fad7a27d Update bitcode docs 2020-11-06 16:54:28 -06:00
Jared Ramirez
e112a406a2 Fix countGrapheme wiring; Reorganize zig builtins; Streamline how we export zig function 2020-11-06 16:54:28 -06:00
Jared Ramirez
63308d90e1 Add Str.countGraphemes 2020-11-06 16:54:28 -06:00
Chad Stearns
c412a8e0db Merge in remote trunk 2020-11-01 11:38:44 -05:00
lrosa007
bd696e1f6f feat(builtins): Num.asin : Float -> Float 2020-11-01 09:54:00 -05:00
lrosa007
4da2d7f101 feat(builtins): Num.acos : Float -> Float 2020-11-01 09:27:42 -05:00
Jared Ramirez
08b78e9c9b Follow Zig conventions; Update zig bitcode export fn names; Update rust
to use bitcode fn name consts;
2020-10-29 15:43:22 -07:00
Jared Ramirez
de36c8e270 Use undefined differntly; Update linger snake case name 2020-10-29 11:27:34 -07:00
Jared Ramirez
951f81d24f Use undefined more! 2020-10-29 08:58:05 -07:00
Jared Ramirez
c47c7f3d96 Add RocStr.eq function & simplify tests; Normalize func/var naming 2020-10-29 08:56:11 -07:00
Chad Stearns
a9c0185225 Bringing in remote trunk 2020-10-28 21:24:15 -04:00
Chad Stearns
a93f18fad4 Added some comments to the tests, since they arent that human readable 2020-10-28 20:00:14 -04:00
Chad Stearns
65f2b2377f Deleted test ll 2020-10-28 19:51:22 -04:00
Chad Stearns
f2983f1360 Resolve conflicts 2020-10-28 19:48:33 -04:00
Chad Stearns
786445ea33 segment_count_ tests, and some clean up 2020-10-28 19:29:55 -04:00
Chad Stearns
e9de6bf3fd Str.split bitcode and tests for str_split_in_place_ 2020-10-28 18:24:10 -04:00
Jared Ramirez
3fd9f4890a Remove stray ir file 2020-10-28 12:14:46 -07:00
Jared Ramirez
3e0d4cd3c7 Docs & comments cleanup 2020-10-28 11:19:38 -07:00
Jared Ramirez
242eb6f905 Build bitcode with zig 🎉 2020-10-28 09:21:56 -07:00
Jared Ramirez
b3d530f2ae Build bitcode with zig 🎉 2020-10-26 17:37:02 -07:00
Jared Ramirez
6278a19c35 Use zig to build bitcode 2020-10-25 20:22:30 -07:00
Jared Ramirez
48f8aad180 Compile bitcode as part of build script 2020-10-25 14:09:53 -07:00
Jared Ramirez
49bc2b838f Remove unused files 2020-10-24 12:24:20 -07:00
Jared Ramirez
d82d6b6fe9 Convert builtins to C 2020-10-24 12:22:51 -07:00
Chad Stearns
aee1caa0e6 Remove measure segment bitcode function 2020-10-20 20:40:23 -04:00
Chad Stearns
ed4d637201 Rename count_delimiters to count_segments, since we only count the delimiters in order to determine the number of segments 2020-10-20 20:40:12 -04:00
Chad Stearns
626d49d7b0 Str Split bitcode 2020-10-20 05:02:59 -04:00
Chad Stearns
a11f0ec25a Measure next split segment length bitcode function 2020-10-18 21:10:41 -04:00
Chad Stearns
415a37a891 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-10-15 05:26:33 -04:00
Richard Feldman
a7da54516a Cast i64 to f64 instead of using builtin bitcode 2020-10-12 17:59:20 -04:00
Chad Stearns
ee7a3e375c counter_delimiters bitcode function for Str.split 2020-10-06 02:51:43 -04:00
Richard Feldman
2626be4e39 Extract libm.rs into its own module 2020-09-26 23:57:40 -04:00
Richard Feldman
e55fba8aeb Extract regenerate.sh script 2020-09-26 23:52:48 -04:00
Jared Ramirez
5cafbcd5ad Add Num.atan builtin 2020-09-26 19:00:51 -07:00
Folkert
fb4a796e07 add different variants of addition 2020-09-21 23:38:10 +02:00
Richard Feldman
cc0f2ce700 Add attribution for pow_int_ 2020-09-17 20:27:50 -04:00
Dimitar Apostolov
9276fd8c9d Add function to call bitcode 2020-09-17 14:07:25 +02:00
Dimitar Apostolov
e89af31015 Use own implementation of pow_int_ instead of llvm
Remove LLVM intrinsics code related to `Num.powInt`.
2020-09-17 14:07:18 +02:00
Richard Feldman
ce9e7a91f6 Clean up some Cargo.toml files 2020-05-03 21:37:59 -04:00
Richard Feldman
463eb6a1af Drop unused declaration in Cargo.toml 2020-04-03 21:46:36 -04:00
Richard Feldman
c5b7b93593 Note how to rebuild bitcode 2020-04-03 00:17:34 -04:00