Richard Feldman
|
a55ff62e6c
|
Merge remote-tracking branch 'origin/trunk' into expect-dont-panic
|
2022-01-30 20:22:26 -05:00 |
|
Chelsea Troy
|
4f8d0776b3
|
We got a test working for panicking with the appropriate number fo failures. Ultimatly we want:
+ An error maessage that says what the failures were
+ Not panicking (so these are effectively error productions)
|
2022-01-30 18:55:09 -06:00 |
|
Jan Van Bruggen
|
1e9d2d1239
|
Remove accidental trailing spaces
|
2022-01-18 22:25:46 -07:00 |
|
Chelsea Troy
|
085c02ffee
|
Infrastructure to test and implement the replacement of an 'expect' failure with an error production
Last command run was 'cargo test expect_fail'
|
2022-01-16 22:01:22 -06:00 |
|
Richard Feldman
|
74cca25aec
|
Use global mutex over threadlocal
|
2022-01-02 22:53:48 -05:00 |
|
Richard Feldman
|
ac67eaf837
|
Use deinitFailures in expectFailure test
|
2022-01-02 22:43:15 -05:00 |
|
Richard Feldman
|
bfdf0bf916
|
Use roc_realloc in expect failures
|
2022-01-02 22:43:15 -05:00 |
|
Richard Feldman
|
afca1b9ee5
|
Revert "Use std.testing.free over destroy"
This reverts commit 7ba074353028907450c0eaad0da5cc32c4f38df8.
|
2022-01-02 22:43:15 -05:00 |
|
Richard Feldman
|
8c267f937b
|
Use std.testing.free over destroy
|
2022-01-02 22:43:15 -05:00 |
|
Richard Feldman
|
e324366ecf
|
zig fmt
|
2022-01-02 22:43:15 -05:00 |
|
Chelsea Troy
|
bf582b8120
|
Add C implementations for testing functions in zig
|
2022-01-02 14:55:56 -06:00 |
|
Chelsea Troy
|
e95c5f9a9d
|
Include a public API for the failure collection
|
2022-01-02 14:08:25 -06:00 |
|
Chelsea Troy
|
39f6bde62c
|
Install a temporary memory allocation solution to make the test work
|
2022-01-02 14:03:10 -06:00 |
|
Chelsea Troy
|
a6e2f1152e
|
The tests run, but they don't work
|
2022-01-02 13:29:08 -06:00 |
|
Jan Van Bruggen
|
96724e73aa
|
Add empty-delimiter handling for Str.split
|
2021-12-18 00:53:17 -07:00 |
|
Brian Carroll
|
77d73f35eb
|
Merge branch 'trunk' of github.com:rtfeldman/roc into faster-str-eq
|
2021-12-17 13:47:25 +00:00 |
|
Brian Carroll
|
a481e34f31
|
Zig builtins: set small string flag on empty string
|
2021-12-16 19:04:36 +00:00 |
|
Brian Carroll
|
ad8fa483d2
|
Make Str equality faster
|
2021-12-16 11:45:54 +00:00 |
|
Brian Carroll
|
3c74acafa4
|
More precise alignCast (allow for 32-bit targets)
|
2021-12-16 11:45:54 +00:00 |
|
Brian Carroll
|
457041a314
|
Slightly optimize Str.isEmpty
|
2021-12-16 11:45:54 +00:00 |
|
Brian Carroll
|
bbf04b8752
|
Add more Zig tests for Str.eq
|
2021-12-15 11:27:13 +00:00 |
|
Chelsea Troy
|
b96ebe0457
|
Starts memory allocation for our collection of failures for the expect keyword
+ BLOCKED: @lucas how do we initialize an empty slice in Zig?
|
2021-12-12 19:02:18 -06:00 |
|
Richard Feldman
|
1ce648ac27
|
Merge pull request #2116 from rtfeldman/str_to_num
Str.toNum
|
2021-12-09 09:48:38 -05:00 |
|
Anton-4
|
e50fb25b38
|
forgot about Aarch64
|
2021-12-03 20:03:45 +01:00 |
|
Anton-4
|
4427779c7a
|
set zig builtins target for compatibility
|
2021-12-03 19:57:19 +01:00 |
|
rvcas
|
bc5b1abcba
|
feat(Str.toNum): support decimal
|
2021-12-02 15:35:34 -05:00 |
|
rvcas
|
d8a3a961bf
|
fix: remove first arg input: T from parseFloat in zig
|
2021-12-02 15:15:14 -05:00 |
|
Folkert
|
d6ed2147ae
|
basic working test case
|
2021-12-02 20:30:58 +01:00 |
|
rvcas
|
d6ab0b6aa4
|
fix: bitcode functions needed the str namespace not num
|
2021-12-01 16:40:56 -05:00 |
|
Folkert
|
69fc1ad7e7
|
sketch of StrToNum
|
2021-12-01 15:33:16 +01:00 |
|
Brian Carroll
|
6e5acadfea
|
Create new lowlevels for refcounting
|
2021-11-30 09:57:00 +00:00 |
|
Folkert
|
7fc79c3d40
|
fix typo
|
2021-11-21 19:20:05 +01:00 |
|
Michael Downey
|
9d587d37b4
|
Merge branch 'trunk' into add_list_all
|
2021-11-18 06:41:08 -05:00 |
|
Michael Downey
|
c5484a9ad3
|
fixing List.all on empty list to be true
|
2021-11-17 22:47:49 -05:00 |
|
Richard Feldman
|
2bb007e08b
|
Merge pull request #1987 from rtfeldman/builtins-list-split
Add builtin `List.split`
|
2021-11-17 13:41:58 -05:00 |
|
Michael Downey
|
d946b84e63
|
adding initial List.all
|
2021-11-16 16:34:36 -05:00 |
|
satotake
|
73dda714de
|
Add builtin List.split
|
2021-11-15 13:50:11 +00:00 |
|
satotake
|
c253273490
|
Merge branch 'trunk' into refactor-builtin-list-drop
|
2021-11-15 11:37:32 +00:00 |
|
satotake
|
8e29daa160
|
remove low-level List.drop codes
|
2021-11-15 11:28:38 +00:00 |
|
Theo Felippe
|
ed3ce2962c
|
removed unused const
|
2021-11-13 18:09:18 +00:00 |
|
Theo Felippe
|
8d7c252fce
|
implemented Str.trimRight
|
2021-11-13 18:02:58 +00:00 |
|
satotake
|
f587be5169
|
zig fmt
|
2021-11-13 06:06:24 +00:00 |
|
satotake
|
9ec2bc7946
|
Remove takeFirst and takeLast from backend
|
2021-11-13 06:03:18 +00:00 |
|
satotake
|
2e073d57ea
|
destruct record at high level
|
2021-11-13 05:13:46 +00:00 |
|
satotake
|
98d2c57edf
|
move List.sublist to backend
|
2021-11-13 04:57:28 +00:00 |
|
Folkert de Vries
|
eb1b6d97bf
|
Merge branch 'trunk' into str_trim_left
|
2021-11-10 14:06:01 +01:00 |
|
Folkert
|
b8ba387863
|
update comment
|
2021-11-10 02:31:59 +01:00 |
|
Michael Downey
|
07cd3850d7
|
Merge branch 'trunk' into str_trim_left
|
2021-11-09 19:43:26 -05:00 |
|
Michael Downey
|
151c92bb48
|
adding tests and changing trimLeft to pass long unique test
|
2021-11-09 18:16:32 -05:00 |
|
Michael Downey
|
9d1038cd9b
|
zig fmt'd str.zig
|
2021-11-09 14:51:07 -05:00 |
|