Commit graph

929 commits

Author SHA1 Message Date
Richard Feldman
e5ebf9c4ef Add Byte Order Mark concept 2021-05-02 12:10:39 -04:00
Richard Feldman
877cc328d2 Move things into roc/bytes and roc/unicode 2021-05-02 12:10:39 -04:00
Folkert
839095942d reallocate in strings 2021-05-01 23:16:34 +02:00
Folkert
b79230c069 refactor reallocate 2021-05-01 23:16:34 +02:00
Folkert
314b7e41fd use realloc in List.append 2021-05-01 22:01:18 +02:00
Folkert
586727f74a list single in zig 2021-05-01 16:38:11 +02:00
Richard Feldman
81014c3790 First-class Usv type 2021-04-29 21:41:04 -04:00
Richard Feldman
391a4f13db Revise parser APIs a bit 2021-04-29 20:26:18 -04:00
Richard Feldman
2181558e69 Delete obsolete doc 2021-04-29 19:49:38 -04:00
Richard Feldman
d055a0e659 Revise parsing functions 2021-04-28 21:48:09 -04:00
Richard Feldman
e23d526a4c Go back to monomorphic Str 2021-04-26 21:18:43 -04:00
Richard Feldman
63fe9e0f2e Expose a bunch of things from Bytes 2021-04-26 08:07:18 -04:00
Richard Feldman
01bf309e38 Add parsePast functions 2021-04-26 07:57:54 -04:00
Richard Feldman
72d5cc6351 Add warning on Bytes.inStr 2021-04-26 01:05:42 -04:00
Richard Feldman
f56636ac7e Revert "Try out NBO and RBO terminology"
This reverts commit 4c51ed2dd3.
2021-04-26 01:02:46 -04:00
Richard Feldman
4c51ed2dd3 Try out NBO and RBO terminology 2021-04-26 00:43:58 -04:00
Richard Feldman
41ba015dcd Drop host endianness helpers 2021-04-26 00:35:24 -04:00
Richard Feldman
59b4d65880 s/native/host endianness
The term "host" seems to be more commonly used.
2021-04-26 00:29:40 -04:00
Richard Feldman
2ef6594710 Remove Parser builtin module 2021-04-26 00:21:03 -04:00
Richard Feldman
3b1c9da544 Add Bytes builtin 2021-04-26 00:21:03 -04:00
Richard Feldman
bd1f0a39b6 Bool parser doesn't make sense 2021-04-26 00:21:03 -04:00
Richard Feldman
1780e2bf19 Try giving Str a type parameter 2021-04-26 00:21:03 -04:00
Richard Feldman
421a625515 Add List.startsWith and endsWith 2021-04-26 00:21:03 -04:00
Richard Feldman
0f2eb12aa8 Add Parser builtin docs 2021-04-26 00:21:03 -04:00
Richard Feldman
218dff19cc Add Str.lines 2021-04-26 00:21:03 -04:00
Folkert
42d065af45 move List.join to zig 2021-04-25 21:43:15 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Chadtech
5c0c81978d Use Nat instead of Int in padGraphemes Str docs 2021-04-18 17:48:20 -04:00
Folkert
870adb20a8 use decref to deallocate RocStr in zig code 2021-04-14 16:53:36 +02:00
Richard Feldman
6ce060bd25
Merge branch 'trunk' into fix-walk-backwards 2021-04-11 12:11:34 -04:00
Richard Feldman
04aa9f4faa Synchronize walkBackwards with walk 2021-04-11 12:10:45 -04:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Richard Feldman
e552ce73b9
Merge pull request #1153 from rtfeldman/zig-swap-element
Zig swap element
2021-04-05 21:36:12 -04:00
Folkert
0575c01f41 Revert "use FixedBufferAllocator in builtins"
This reverts commit 0c2da8686a.
2021-04-05 00:46:27 +02:00
Folkert
044f653fda Revert "buggy copied version"
This reverts commit 858f19f5f5.
2021-04-05 00:45:41 +02:00
Folkert
858f19f5f5 buggy copied version 2021-04-05 00:45:34 +02:00
Folkert
0c2da8686a use FixedBufferAllocator in builtins 2021-04-04 22:01:22 +02:00
Folkert
4c9accb2ba use in-place swap for List.reverse 2021-04-04 21:42:02 +02:00
Folkert
fa7dec2997 no more boolean algebra 2021-04-04 21:22:59 +02:00
Richard Feldman
62e87dc970
Merge branch 'trunk' into builtin-sortby 2021-04-03 20:30:14 -04:00
Folkert
c168f2751d cleanup 2021-04-04 00:26:41 +02:00
Folkert
73cb826a98 fix calling conventions 2021-04-03 23:26:28 +02:00
Folkert
220c8b1a73 no-allocation swap 2021-04-03 21:20:38 +02:00
Folkert
e78fa99030 working version 2021-04-03 20:35:00 +02:00
Eric Henry
26edc70bca quicksort broken 2021-04-03 12:28:06 -04:00
Eric Henry
ac001598e8 setup before zig work 2021-04-03 11:28:36 -04:00
Eric Henry
8e36b5797b Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-sortby 2021-04-03 10:03:45 -04:00
rvcas
22d8659215 feat(bitcode): implement the unique case for List.reverse 2021-04-03 08:10:11 -04:00
rvcas
17b39fa1ce feat(bitcode/list): implement listReverse 2021-04-02 02:00:46 -04:00
Folkert
ff3f231155 remove Mode from stdlib 2021-04-01 21:42:38 +02:00