Commit graph

17 commits

Author SHA1 Message Date
Brian Carroll
e1d8d09472
builtins: move the output argument of Zig fromUtf8RangeC to first position 2022-07-04 11:24:39 +01:00
Brian Carroll
60d29c2e25
builtins: Move return pointer to first position for fromUtf8C 2022-07-04 11:24:39 +01:00
Brian Carroll
02ec30425c
wasm: Implement Str.split 2022-07-04 11:24:38 +01:00
Richard Feldman
c9e52b8311
Have startsWithCodePt share code with toScalars 2022-07-02 15:28:10 -04:00
Richard Feldman
cfb33cb414
Fix bug in 3-byte and 4-byte toScalars 2022-07-02 15:25:33 -04:00
Richard Feldman
d3ef05970f
zig fmt 2022-07-02 13:13:29 -04:00
Richard Feldman
9c9577c084
Add strToScalars empty string test 2022-07-02 13:13:28 -04:00
Richard Feldman
acb7cf99e1
Add Str.toScalars builtin 2022-07-02 13:12:12 -04:00
Richard Feldman
b1fe76adbf
Export Str.toScalars from Zig 2022-07-02 13:11:46 -04:00
Richard Feldman
5f20d31617
Add more strToScalars tests 2022-07-02 13:11:45 -04:00
Richard Feldman
9803e3ab01
Fix bug with 2-byte UTF-8 chars 2022-07-02 13:11:45 -04:00
Richard Feldman
598d03737c
Use RocStr.fromSlice in test 2022-07-02 13:11:45 -04:00
Richard Feldman
46c96be6ce
Rename toCodePts to toScalars
These code points will all be Unicode Scalar Values,
so might as well be more precise about the name.
2022-07-02 13:11:44 -04:00
Richard Feldman
44ba24df46
Improve strToCodePts 2022-07-02 13:11:44 -04:00
Richard Feldman
47216b9905
Add RocStr.strToCodePts in Zig 2022-07-02 13:11:43 -04:00
Richard Feldman
d4c1ac4afa
Fix error in comment 2022-07-02 13:11:42 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Renamed from compiler/builtins/bitcode/src/str.zig (Browse further)