Commit graph

7592 commits

Author SHA1 Message Date
Folkert
fd209f90ff
fix bug where incorrect stack size is given 2022-03-30 17:25:28 +02:00
Folkert
c73c01aa34
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-30 14:07:17 +02:00
Folkert
fd527c2b4d
upgrate parking lot to 0.12 2022-03-30 00:14:28 +02:00
Richard Feldman
24b8a68503
Merge pull request #2771 from rtfeldman/cache-stdlib-modules
Cache stdlib modules
2022-03-29 17:30:38 -04:00
SylvanSign
b3c6b5ccc9
fix target str issue with zig and GNU/Linux + ARM 2022-03-27 15:41:02 -04:00
Folkert
14accf4589
clippy 2022-03-27 16:22:46 +02:00
Folkert
13ab2010f0
patch List.countGraphemes and List.isEmpty with the byval() attribute 2022-03-27 16:20:46 +02:00
Folkert
e19cdaf34d
fix merge conflict 2022-03-26 22:08:30 +01:00
Folkert
9dbaa0d157
change type to ensure alignment 2022-03-26 22:04:22 +01:00
Folkert
8325f09de1
Merge remote-tracking branch 'origin/trunk' into cache-stdlib-modules 2022-03-26 21:58:05 +01:00
Folkert
dd84517f5f
revert to older constant string approach 2022-03-26 20:59:18 +01:00
Folkert
9c9a238be5
make subs serialziation cross-compile proof 2022-03-26 20:31:41 +01:00
Folkert
97b64a90a4
hacky fix to make llvm + standard linker work 2022-03-26 19:05:28 +01:00
Folkert
47cb6d9621
clippy 2022-03-26 18:53:21 +01:00
Folkert
79dfd23513
stop zeroing out alloca's 2022-03-26 18:51:54 +01:00
Folkert
75ab8afc2b
remove optimization when values move between pointers, it was unsound (see comment in source) 2022-03-26 18:50:56 +01:00
Folkert
e6ae01384f
fix applied_tag_function_linked_list 2022-03-26 18:40:51 +01:00
Folkert
fed73c1489
fix string hash 2022-03-26 18:31:49 +01:00
Folkert
b146a2cf5f
fix string equality 2022-03-26 18:29:46 +01:00
Folkert
8e1e709fc1
pass all string tests 2022-03-26 18:25:20 +01:00
Folkert
8e6b1ff481
more string operations 2022-03-26 18:13:05 +01:00
Folkert
576e02ed85
Str.trim and friends 2022-03-26 18:03:53 +01:00
Folkert
57ff0e8212
step 2: Closure.roc works 2022-03-26 17:58:37 +01:00
Folkert
71c11784a0
step 1: Deriv works and has no valgrind problems 2022-03-26 17:56:56 +01:00
Folkert
baec1c2de3
use roc_load_value to move a value to the stack 2022-03-26 17:56:36 +01:00
Folkert
d669b8c894
preparation for using argument_type_from_layout 2022-03-26 14:20:59 +01:00
Folkert
84c6e741fe
rework how tags are created 2022-03-26 14:09:16 +01:00
Folkert
269d31b9ae
Revert "void type is not passed by-reference"
This reverts commit 0d89b9f37f.
2022-03-26 13:43:28 +01:00
Folkert
0d89b9f37f
void type is not passed by-reference 2022-03-26 13:13:25 +01:00
Folkert
75c15f9b00
use roc_ helpers for box loading and storing 2022-03-26 13:10:18 +01:00
Folkert
0f3ae18c74
add debug print 2022-03-26 12:54:00 +01:00
Folkert
f132a527c0
rename a function 2022-03-26 12:52:13 +01:00
Folkert
53d426300e
add additonal tests 2022-03-26 12:46:31 +01:00
Folkert
18ba6316fb
clippy 2022-03-26 12:43:17 +01:00
Folkert
2c1879e3da
use store_roc_value when inserting into dict 2022-03-26 12:41:46 +01:00
Folkert
9528f63d87
make Dict.keys and Dict.values use list helpers for returning 2022-03-26 12:36:14 +01:00
Folkert
bff4e03867
store string literals (also the struct) as a const value 2022-03-26 12:31:03 +01:00
Richard Feldman
b5b84e8760
Merge pull request #2770 from rtfeldman/add-stdlib-roc-files
add standard library .roc files
2022-03-25 23:21:20 -04:00
Folkert
74f9443a3e
Revert "some zig functions need to accept arguments by-pointer now"
This reverts commit fcb34272da.
2022-03-25 10:45:45 +01:00
Folkert
4e3644a4c6
Revert "fix zig tests"
This reverts commit 89223c4032.
2022-03-25 10:45:31 +01:00
Folkert
e98dc68462
prevent panic 2022-03-24 22:40:47 +01:00
Folkert
8dba624156
refactor + thread through cached subs 2022-03-24 22:10:21 +01:00
Folkert
8c3bab908e
fix load tests 2022-03-24 00:12:53 +01:00
Folkert
f1cc3be8d5
fix formatting 2022-03-23 22:58:11 +01:00
Folkert
887c5ef698
rename standard_library -> roc 2022-03-23 21:21:46 +01:00
Folkert
afee877cf1
skeleton for caching stdlib subs 2022-03-23 21:19:38 +01:00
Folkert
1716879f82
add headers to stdlib roc files 2022-03-23 21:19:37 +01:00
Folkert
4859f530cd
generate cached subs 2022-03-23 21:19:37 +01:00
Folkert
753d1418ed
fix copy/paste mistake 2022-03-23 21:19:37 +01:00
Folkert
90887a6fe0
thread through cached_subs 2022-03-23 21:19:36 +01:00