Folkert
b4385f8775
add tests for error message
2021-05-03 20:42:47 +02:00
Folkert
9b0e14ef4c
treat wildcards as rigids
2021-05-03 20:39:29 +02:00
Basile Henry
f6179404d1
Remove dependency on test module
2021-05-03 15:21:55 +02:00
Basile Henry
6459b8d8cf
Setup multiline prompt in the REPL
2021-05-03 14:19:28 +02:00
Basile Henry
5e0a4f04bd
Use rustyline fork for continuation prompt
2021-05-03 14:19:28 +02:00
Richard Feldman
84c46b94e2
Merge pull request #1261 from rtfeldman/module-level-documentation
...
Detatched Docs
2021-05-03 07:52:19 -04:00
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
Richard Feldman
7eb956cf0d
Merge pull request #1259 from rtfeldman/parser
...
`Str` API revisions for parsing
2021-05-02 22:04:44 -04:00
Richard Feldman
1e1c3f4ee6
Merge pull request #1262 from rtfeldman/basile/defs-in-repl
...
Accept defs in REPL
2021-05-02 17:14:27 -04:00
Folkert de Vries
b2e0314774
Merge branch 'trunk' into basile/defs-in-repl
2021-05-02 22:42:15 +02:00
Chadtech
d1a18c8b6a
Removed module docs and added detatched doc as a kind of doc entry
2021-05-02 16:34:48 -04:00
Basile Henry
309a4e8ad0
Accept defs in REPL
...
by parsing the input as part of the validation (on Enter). This is a
reliable way to determine if the input so far could become a valid
expression with more input lines.
2021-05-02 22:31:06 +02: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
0a10009b25
Drop unnecessary Bytes functions
2021-05-02 12:21:10 -04:00
Richard Feldman
4533ee034c
Add Str.chompCodePoint
2021-05-02 12:15:14 -04:00
Richard Feldman
8c981d8737
Add a note about single quote syntax
2021-05-02 12:15:07 -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
Richard Feldman
9748aa00da
Merge pull request #1258 from rtfeldman/procs-remove-field
...
remove field from procs; pass separately
2021-05-02 12:10:35 -04:00
Folkert
f0070e7464
remove field from procs; pass separately
2021-05-02 15:28:53 +02:00
Richard Feldman
8df810fe0c
Update README.md
2021-05-02 07:52:27 -04:00
Richard Feldman
2577fc5a96
Update CONTRIBUTING.md
2021-05-02 07:51:27 -04:00
Richard Feldman
1861ddf2ef
Update README.md
2021-05-02 07:47:46 -04:00
Richard Feldman
95c73716ec
Merge pull request #1257 from rtfeldman/custom-alloc
...
Add custom malloc example
2021-05-01 21:38:48 -04:00
Richard Feldman
5ca3423ade
Fix custom free
2021-05-01 21:27:47 -04:00
Richard Feldman
3058cdd50a
Add custom-malloc example
2021-05-01 20:59:56 -04:00
Richard Feldman
99d2dcff32
Merge pull request #1254 from rtfeldman/list-single-and-realloc
...
List single and realloc
2021-05-01 20:58:45 -04: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
040375a80f
Merge branch 'trunk' into list-single-and-realloc
2021-05-01 16:43:24 -04:00
Richard Feldman
e9e532d01b
Merge pull request #1252 from rtfeldman/editor_constrain_float
...
Constrain Expr2::Float
2021-05-01 16:17:44 -04: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
04fd250fe5
report more info on assert fail
2021-05-01 20:17:37 +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