Dan Knutson
|
bf1b597369
|
use nullable index for reverse iterator
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
6f49f355dd
|
clean up conditionals, use RocStr.init
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
1de0e5d99b
|
make test fail for missed small string conversion
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
e1b9699272
|
remove TODO tags
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
ab060a95b8
|
add TODO for incorrect unique Roc tests
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
ca48d17dbc
|
add Roc-level shared case tests
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
188de22d8d
|
explain back iterator
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
e21fa3cb0a
|
add zig test cases
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
6f7a26895a
|
handle small strings correctly
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
13fd72f3d8
|
thrashing
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
46365da73a
|
add failing tests
* SIGSEGV for non-empty strings
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
e7523ad41d
|
add Roc wiring
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
c8287032b6
|
use reverse utf8 iterator for trailing whitespace
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
8bf252a56e
|
use mutation for the unique case
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
024a902579
|
add a slow zig impl
|
2021-10-25 20:22:37 -05:00 |
|
Dan Knutson
|
fdac5e2bd8
|
add isWhitespace helper
|
2021-10-25 20:22:37 -05:00 |
|
Folkert
|
7735ca21ea
|
cleanup
|
2021-10-20 17:03:55 +02:00 |
|
Folkert
|
a072d8d1b1
|
fix things
|
2021-10-20 16:56:04 +02:00 |
|
Folkert
|
63b1aaad4e
|
hook up polymorphic zig builtins
|
2021-10-20 16:43:39 +02:00 |
|
Folkert
|
bd98ac6dc7
|
Merge remote-tracking branch 'origin/trunk' into divTruncate
|
2021-10-19 23:36:03 +02:00 |
|
Folkert
|
78c49d3095
|
support intrinsics/builtins for more integer types
|
2021-10-19 21:41:38 +02:00 |
|
Folkert
|
6cc8f8624c
|
a way forward
|
2021-10-18 11:09:38 +02:00 |
|
Folkert
|
4152519bfb
|
formatting & catch zig overflow error
|
2021-10-17 18:03:40 +02:00 |
|
Chelsea Troy
|
0cc6e44d35
|
Thread through the divCeil implementation from Zig:
+ OPEN QUESTION: Evidently the Zig implementation can throw an overflow error. Do we want to do something in Roc to fix this?
|
2021-10-17 10:46:16 -05:00 |
|
Folkert
|
94e8c62613
|
make things compile, base64 has a memory leak
|
2021-10-06 22:57:11 +02:00 |
|
Dan Knutson
|
25215cb3e3
|
cleanup mutable case, split test
|
2021-10-03 14:09:07 -05:00 |
|
Dan Knutson
|
2a72439117
|
WIP adding unique mutable case
|
2021-10-03 13:55:11 -05:00 |
|
Dan Knutson
|
65821d6a9f
|
remove giesch/todo tags, add List.drop doc
|
2021-10-03 13:55:11 -05:00 |
|
Dan Knutson
|
700ab20a8c
|
add tests for List.dropAt
|
2021-10-03 13:55:11 -05:00 |
|
Dan Knutson
|
3baff93a97
|
add first version of List.dropAt
* adds an implementation with no uniqueness/mutability
|
2021-10-03 13:55:11 -05:00 |
|
Folkert
|
f8ac85195b
|
fix zig test
|
2021-10-03 14:18:48 +02:00 |
|
Folkert
|
0690633116
|
spec for List.reverse
|
2021-10-03 13:34:09 +02:00 |
|
Folkert
|
13d480d5f3
|
spec for list append
|
2021-10-03 13:27:47 +02:00 |
|
Folkert
|
486f1d540f
|
add specifications for fromUtf8 and toUtf8
|
2021-10-03 13:22:03 +02:00 |
|
Folkert
|
018348bd83
|
make Str.fromUtf8 in-place
|
2021-10-03 12:13:17 +02:00 |
|
Folkert
|
dbb8acbe67
|
add in-place List.swap
|
2021-10-03 00:25:35 +02:00 |
|
Kofi Gumbs
|
b2343cb0ad
|
Format zig
|
2021-09-29 21:54:14 -04:00 |
|
Kofi Gumbs
|
b32a42f05a
|
Add Str.repeat builtin
|
2021-09-29 17:32:42 -04:00 |
|
Brendan Hansknecht
|
c334e4d3e5
|
Export zig builtin version of __muloti4 as weak so it doesn't conflict if it already exists
|
2021-09-24 08:54:41 -07:00 |
|
Folkert
|
c0cfd6ac16
|
make conversion a cast again
|
2021-09-12 14:28:44 +02:00 |
|
Richard Feldman
|
0dd1395331
|
Merge pull request #1686 from rtfeldman/refcounting-cleanup
Refcounting cleanup
|
2021-09-11 13:33:36 -04:00 |
|
Folkert
|
8015edccf8
|
use freestanding as wasm32 builtins target
|
2021-09-11 15:40:35 +02:00 |
|
Folkert
|
cd9b32ba65
|
fix list decref
|
2021-09-10 21:53:57 +02:00 |
|
Folkert
|
5e68d31afc
|
expose decref_pointer_check_NULL
|
2021-09-10 20:42:25 +02:00 |
|
Folkert
|
c2165ec0a4
|
bundle wasi-libc.a
|
2021-09-10 10:13:16 +02:00 |
|
Folkert
|
1d17a21d1f
|
higher alignment requirement on rocstr/roclist
|
2021-09-04 15:18:37 +02:00 |
|
Folkert
|
3adfbf3459
|
fix bug in realloc on 32-bit platforms
|
2021-09-04 13:46:30 +02:00 |
|
Folkert
|
a7eeae05ca
|
support i386 (no linking yet)
|
2021-09-04 01:31:33 +02:00 |
|
Folkert
|
cde8f5cbd4
|
optimize RC
|
2021-09-02 21:29:24 +02:00 |
|
Folkert
|
4e39543054
|
simplify/optimize decref logic
|
2021-09-01 23:07:56 +02:00 |
|