Richard Feldman
29633f03d1
Merge remote-tracking branch 'origin/trunk' into module-level-documentation
2021-05-02 22:20:41 -04:00
Richard Feldman
83dde26cd0
Fix Str.startsWithCodePoint docs
2021-05-02 22:16:58 -04:00
Richard Feldman
465c5fa18a
Merge pull request #1260 from rtfeldman/parse-str
...
implement startsWithCodePoint
2021-05-02 22:15:53 -04:00
Chadtech
d1a18c8b6a
Removed module docs and added detatched doc as a kind of doc entry
2021-05-02 16:34:48 -04:00
Chadtech
53c2a87161
Remove dbg
2021-05-02 14:38:00 -04:00
Chadtech
ad4402a67d
Figure out module documentation by reading through the comments or new lines from the SpaceBefore the first entry to the module
2021-05-02 14:33:14 -04:00
Chadtech
0e39675d68
Add Usv type to Str exports, and reformat Str interface generally
2021-05-02 14:31:17 -04:00
Chadtech
cf06eb8737
Add Bytes type to Bytes.roc
2021-05-02 14:29:57 -04:00
Folkert de Vries
be36fe7194
Merge branch 'trunk' into parse-str
2021-05-02 19:33:41 +02:00
Folkert
c071cfba13
implement startsWithCodePoint
2021-05-02 19:26:08 +02:00
Richard Feldman
4533ee034c
Add Str.chompCodePoint
2021-05-02 12:15:14 -04:00
Richard Feldman
9351dc3d14
Revise Str.parseGrapheme docs
2021-05-02 12:10:39 -04:00
Richard Feldman
0f5958781f
Add Str.startsWithCodePoint and Str.parseCodePoint
2021-05-02 12:10:39 -04:00
Richard Feldman
4d1571c39d
Drop Num.endi
...
It's [not portable](https://doc.rust-lang.org/std/primitive.u32.html#method.to_ne_bytes ),
and apparently (in a Rust discussion somewhere) it's been said that the
host endianness is very rarely useful in user code. Given all that, it seems
reasonable to leave it up to platforms to expose it (or not).
2021-05-02 12:10:39 -04:00
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
f0070e7464
remove field from procs; pass separately
2021-05-02 15:28:53 +02:00
Folkert
cd1103df64
bumpalo allocator sadness; revert later
2021-05-02 01:09:16 +02:00
Folkert
2032ef9b52
refactor/optimize loop in ir codegen
2021-05-02 01:08:53 +02: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
Richard Feldman
7f5a046edb
Re-comment-out debug call
2021-05-01 16:12:46 -04:00
Folkert
314b7e41fd
use realloc in List.append
2021-05-01 22:01:18 +02:00
Folkert
127b64034e
cleanup
2021-05-01 20:28:43 +02:00
Folkert
3b443eef10
remove manual bitcasts
2021-05-01 20:26:18 +02:00
Folkert
b3772b72a1
remove code
2021-05-01 20:15:31 +02:00
Folkert
3b01902286
remove dead code
2021-05-01 20:04:58 +02:00
Folkert
d411d5dd7e
remove more code
2021-05-01 17:20:37 +02:00
Folkert
e5c2ece4f0
refactor some more
2021-05-01 16:55:08 +02:00
Folkert
1f20ce23bd
delete lines!
2021-05-01 16:50:19 +02:00
Folkert
586727f74a
list single in zig
2021-05-01 16:38:11 +02:00
Folkert
cd18b434ba
fix tests
2021-05-01 00:57:55 +02:00
Folkert
327d7b77b0
remove dead code
2021-05-01 00:47:23 +02:00
Folkert
a586626d7c
more bump
2021-05-01 00:27:22 +02:00
Folkert
a2f144f4db
bump set
2021-05-01 00:13:11 +02:00
Folkert
503d011c43
more bump
2021-05-01 00:04:56 +02:00
Folkert
58ba5c09fd
bump-allocate procs
2021-04-30 23:52:08 +02:00
Richard Feldman
bae11e4da5
Merge branch 'trunk' into parser
2021-04-29 21:50:04 -04: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
Folkert
efc004b19a
use bumpmap in partialproc
2021-04-28 23:37:17 +02:00
Folkert
3290528d70
use bumpmap in record IR gen
2021-04-28 23:26:09 +02:00
Folkert
2d00dd528f
use bumpmap in substitution
2021-04-28 23:23:40 +02:00
Folkert
a6fc267449
make bumpmap new functions using a trait
2021-04-28 23:16:02 +02: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