Commit Graph

16909 Commits

Author SHA1 Message Date
ayazhafiz
375b3e064a
Use insta snapshot tests in reporting tests 2022-07-03 12:58:27 -04:00
Brian Carroll
b2c094ca07
Merge pull request #3379 from rtfeldman/wasm-box
Wasm box & unbox
2022-07-03 12:55:48 +01:00
Brian Carroll
817ffba982
formatting 2022-07-03 10:59:19 +01:00
Brian Carroll
7ea9854e49
wasm: Refactor and bug-fix copy_value_from_memory 2022-07-03 10:22:11 +01:00
Brian Carroll
07a432581f
wasm: start implementing Box and Unbox (bugs!) 2022-07-03 09:47:53 +01:00
Folkert de Vries
2a82d24847
Merge pull request #3369 from rtfeldman/pure-roc-list-walk
List.walk and friends in pure Roc
2022-07-03 02:32:43 +02:00
Folkert
2e0e867f32
format 2022-07-03 01:33:05 +02:00
Folkert de Vries
0d17f007d1
Merge pull request #3376 from rtfeldman/wasm-list-drop-at
implement List.dropAt for the wasm backend
2022-07-03 00:58:42 +02:00
Folkert de Vries
d2c07f350d
Merge pull request #3371 from rtfeldman/starts-with-scalar
Str.startsWithCodePt -> Str.startsWithScalar
2022-07-03 00:22:21 +02:00
Folkert de Vries
e1bee69373
Merge pull request #3373 from rtfeldman/remove-packages
Remove `packages` folder
2022-07-03 00:01:23 +02:00
Folkert de Vries
75b4b3a206
Merge pull request #3365 from rtfeldman/to-scalars
Add Str.toScalars builtin
2022-07-02 23:04:28 +02:00
Brian Carroll
94181111be
Merge branch 'trunk' of github.com:rtfeldman/roc into pure-roc-list-walk 2022-07-02 21:44:42 +01:00
Folkert
00397db8b6
implement List.dropAt for the wasm backend 2022-07-02 22:20:34 +02:00
Richard Feldman
af05723d35
Rename startsWithCodePt to startsWithScalar 2022-07-02 15:51:33 -04:00
Folkert de Vries
af0e0d997f
Merge pull request #3367 from rtfeldman/list-keep-pure-roc
list keep pure roc
2022-07-02 21:50:49 +02:00
Folkert
8d6cdb6577
shift -> multiply 2022-07-02 21:48:57 +02:00
Richard Feldman
1a301c3474
Merge pull request #3372 from rtfeldman/remove-meeting-notes
Remove `meeting_notes` directory
2022-07-02 15:45:37 -04:00
Richard Feldman
94450c219b
Remove meeting_notes directory
Meeting notes don't need to be in this repo!
2022-07-02 15:39:41 -04:00
Richard Feldman
989d2d7be2
Revert "Remove meeting_notes directory"
This reverts commit 8111474348.
2022-07-02 15:39:23 -04:00
Richard Feldman
8111474348
Remove meeting_notes directory
Meeting notes don't need to be in this repo!
2022-07-02 15:38:51 -04:00
Richard Feldman
ef5cb0f8ed
Remove packages folder
These were API drafts. They don't need to be in this repo.
2022-07-02 15:38:08 -04:00
Folkert
3792edec7f
rust format 2022-07-02 21:35:06 +02: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
077c37d9fb
Use alignCast over intToPtr 2022-07-02 15:22:29 -04:00
Richard Feldman
284ff5de35
Enable some missing tests 2022-07-02 15:22:20 -04:00
Folkert
543615292a
update mono tests 2022-07-02 19:38:38 +02:00
Folkert
e29a89d33c
remove zig implementation of keepIf/keepErrs/keepOks 2022-07-02 19:38:38 +02:00
Folkert
addb27164e
implement keepOks and keepErrs in pure roc 2022-07-02 19:38:37 +02:00
Folkert
6324fd632d
remove manual can implementation of takeFirst/takeLast 2022-07-02 19:38:37 +02:00
Folkert
616ddd6fe4
implement keepIf in pure roc 2022-07-02 19:38:36 +02:00
Brian Carroll
fdbcbb74dd
Format List.roc 2022-07-02 18:25:09 +01: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
1b872022bb
Don't let fromSlice allocate when slice is empty 2022-07-02 13:13:28 -04:00
Folkert
409193f905
call_str -> call_list 2022-07-02 13:13:28 -04:00
Richard Feldman
09a656640e
Fix an incorrect var 2022-07-02 13:13:27 -04:00
Richard Feldman
40d90c9fb3
Add doc comment for toScalars 2022-07-02 13:13:27 -04:00
Richard Feldman
348ca970d6
Add gen tests for Str.toScalars 2022-07-02 13:13:27 -04:00
Richard Feldman
092654c463
Fix mono tests 2022-07-02 13:13:19 -04:00
Richard Feldman
c6d409cc4c
Delete Path.roc for now 2022-07-02 13:12:15 -04:00
Richard Feldman
271ab24d67
Delete Url.roc, which reproduces formatter bug 2022-07-02 13:12:14 -04:00
Richard Feldman
810fcb307d
Delete some comments which reproduced a formatter bug 2022-07-02 13:12:14 -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