Commit graph

41 commits

Author SHA1 Message Date
Folkert
57b78dde06 Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:36 +01:00
Folkert
13b2c23c01 working AStar 2021-02-15 21:34:55 +01:00
Jared Ramirez
f3d9c2f2bb Finish first pass of Str.fromUtf8 2021-02-07 20:04:10 -08:00
Jared Ramirez
815f633a58 [WIP] Setup rust side to call Str.fromUtf8 2021-02-07 20:04:10 -08:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Folkert
cb0c5ef751 make bitcast more descriptive 2021-01-18 22:06:14 +01:00
Folkert
6749606450 add tests for RocStr clone 2021-01-03 03:12:49 +01:00
Folkert
2ac19fb6e3 add equality for strings 2021-01-02 18:50:29 +01:00
Folkert
ccd302cbe9 format 2021-01-01 00:54:18 +01:00
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
Sébastien Besnier
b36c2bf499 implement startsWith builtin using Zig 2020-11-22 21:48:42 +01:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Chadtech
72009b1276 Comment in now passing test 2020-11-21 14:15:58 -05:00
Chad Stearns
797b5a3053 Extra count graphemes test for three Js 2020-11-16 15:45:53 -05:00
Chad Stearns
222d56f67b Use ROC_STR_MEM_SIZE in more tests 2020-11-16 04:33:01 -05:00
Chad Stearns
d0aaf9c47f Use ROC_STR_MEM_SIZE in more tests 2020-11-16 03:07:10 -05:00
Chad Stearns
1b2022ab5c Isolate 20 char delimiter test 2020-11-16 02:54:20 -05:00
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
7b488d0970 Applied ROC_STR_MEM_SIZE to more tests 2020-11-15 23:22:13 -05:00
Chad Stearns
d3da25131c In small_str test helper function, dont use the hard coded value of 16, use the actual size of the RocStr memory footprint 2020-11-15 21:36:16 -05:00
Chad Stearns
1c9851ec4e Comment in newly working tests, comment out new tests that should work but dont 2020-11-15 19:24:35 -05:00
Chad Stearns
c046a72e85 A few more commented out and failing Str.split tests 2020-11-13 01:25:27 -05:00
Chad Stearns
b1267d9026 More Str.split tests 2020-11-11 02:09:15 -05:00
Chad Stearns
b102511d9e Easier to read and reason about big str split tests 2020-11-08 15:01:44 -05:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Jared Ramirez
14fed8e6a6 Fix cargo fmt 2020-11-06 17:03:21 -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
Dimitar Apostolov
0ae045c1f3 Add canonical Expr for Str.startsWith 2020-10-22 23:24:29 +02:00
Chad Stearns
2058afa296 Comment in Str.split tests 2020-10-20 21:02:37 -04:00
Chad Stearns
43960cf1c6 unique and std work, check if delimiter is longer than str 2020-09-27 14:27:56 -04:00
Richard Feldman
8e630fc9fc Reproduce small string bug 2020-09-16 01:20:02 -04:00
Richard Feldman
318e50f98f Drop obsolete Str.concat tests 2020-09-12 23:25:34 -04:00
Richard Feldman
8322006e36 Add tests for the small/big concat combinations 2020-09-12 22:30:04 -04:00
Richard Feldman
e3d0145894 Add Str.isEmpty 2020-09-12 21:56:53 -04:00
Chad Stearns
a6c3d8edef Mostly implemented big and small string work for Str.concat. Just some bugs somewhere in the llvm 2020-09-12 17:39:41 -04:00
Chad Stearns
a318253d48 small str implementation in string literal, and bringing in remote trunk 2020-09-09 21:53:38 -04:00
Chad Stearns
72558c61f1 Implemented Str.concat 2020-08-19 02:00:49 -04:00
Chad Stearns
a81504720b Str.concat tests and definition set up 2020-08-15 02:45:52 -04:00