Commit graph

1219 commits

Author SHA1 Message Date
Brendan Hansknecht
d681062c63 add Num.toNat 2022-03-11 11:17:42 -08:00
Tom Dohrmann
17398e4f45 fix listSublist bitcode 2022-03-11 11:32:20 +01:00
Brian Carroll
4878c701ae Fix Zig builtins for 32-bit targets 2022-03-10 23:26:58 +00:00
Folkert
19c46916d9
fix zig string tests
mostly, strings that were small before are now not, so I had to increase the string lengths
2022-03-09 19:25:51 +01:00
Folkert
82dddf4c3a
add capacity field to make tests compile 2022-03-09 19:21:11 +01:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-09 14:36:34 +01:00
Folkert
3510bad1d5
add scaffolding 2022-03-07 20:55:40 +01:00
Folkert
adf4ad22a5
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-03-05 20:55:15 +01:00
Derek Gustafson
b6ad04b0f1
Fix zig fmt error. 2022-03-03 11:14:58 -05:00
Derek Gustafson
6feac21b9b
Remove using a string as an intermediate form in Dec.fromF64. 2022-03-03 11:05:41 -05:00
Richard Feldman
d91df42147
Merge pull request #2610 from rtfeldman/windows_fixes
`cargo build` on windows
2022-03-02 18:20:06 -05:00
Brendan Hansknecht
0ae0e689fc
Merge pull request #2602 from rtfeldman/list-replace
List replace
2022-03-01 23:29:32 +00:00
Folkert
db6b5bfd38
get Num to fully work again 2022-02-28 19:40:18 +01:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes 2022-02-28 19:12:18 +01:00
Folkert
bd31503855
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-02-28 18:55:20 +01:00
Anton-4
6acd2f338b successful cargo build on windows 2022-02-28 18:11:14 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors 2022-02-28 13:48:11 +01:00
Brendan Hansknecht
2ca1ebdd2d appease the paperclip 2022-02-27 15:50:19 -08:00
Brendan Hansknecht
2e70bb8458 remove list set low level 2022-02-27 15:07:09 -08:00
Folkert
78fe734113
change the return type of List.replace 2022-02-27 22:47:08 +01:00
Folkert
db1669154e
WIP 2022-02-27 21:53:56 +01:00
Richard Feldman
84ada96b63
Revise Str parsing primitives 2022-02-27 15:30:27 -05:00
Brian Carroll
07748b2b86 builtins: change mv to cp to prevent wasm build from crashing 2022-02-27 12:40:04 +00:00
Brendan Hansknecht
aff962809b call ListReplace and generate struct afterwards 2022-02-24 22:33:36 -08:00
Brendan Hansknecht
dc59ba97c2 change listReplace zig builtin to use RocList 2022-02-24 22:02:23 -08:00
Brendan Hansknecht
dddf8ff785 switch from pair to record and change name to ListReplaceUnsafe 2022-02-24 20:41:26 -08:00
Brendan Hansknecht
27b47713aa Add some comments and TODOs 2022-02-24 20:40:45 -08:00
Brendan Hansknecht
ba2e8cd32b Add base piping for list.Replace 2022-02-24 17:58:56 -08:00
Anton-4
8fee48c3fa
windows zig path validation workaround
std::fs::canonicalize adds a special windows prefix ?, zig erroneously (ziglang/zig#1509) does not allow ? in windows paths, dunce correctly removes this ? prefix
2022-02-22 16:17:21 +01:00
ayazhafiz
e22c9d8168 Fix a typo 2022-02-21 10:29:24 -05:00
Folkert
177529bfb6
all string tests passing 2022-02-20 13:04:12 +01:00
Folkert
1c0d092c48
fix str_to_utf8 2022-02-20 01:10:09 +01:00
Folkert
2c4d0e71a6
fix string repeat tests 2022-02-20 00:47:07 +01:00
Folkert
dea6cfbc8f
various fixes 2022-02-20 00:20:50 +01:00
ayazhafiz
aa8b6e3393 Clippy 2022-02-19 16:28:36 -05:00
ayazhafiz
13067f2908 Implement Num.toNNNChecked
Closes #2411
2022-02-19 16:20:21 -05:00
Jan Van Bruggen
e12d98af98 WIP: Start adding new Int.toInt builtins 2022-02-19 11:28:12 -05:00
Jan Van Bruggen
1760db2a0c Add docs for new Int.toInt builtins 2022-02-19 11:28:12 -05:00
Folkert
3d7254726d
WIP 2022-02-18 23:33:24 +01:00
Folkert
6631845a3c
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-02-18 22:39:44 +01:00
Folkert
238298e599 use zig instead of llvm-as to generate .bc files 2022-02-16 13:44:26 +01:00
ayazhafiz
886e4e07f6 Update alias analysis, implementation for List.mapWithIndex 2022-02-13 22:50:27 -05:00
Jan Van Bruggen
f47dbb5171
Swap List.mapWithIndex arg1 args order to put the element first 2022-02-11 16:10:29 -07:00
Jan Van Bruggen
92e0f8714f
Swap List.repeat args order to put the list first 2022-02-11 16:10:29 -07:00
rvcas
94e4c2c381
fix: c_void is gone use anyopaque 2022-02-09 19:04:09 -05:00
rvcas
0124e4d4b1
Merge branch 'trunk' into update_zig_09 2022-02-09 18:42:24 -05:00
Richard Feldman
5d60677b5b
Fix defensive cloning 2022-02-02 23:08:12 -05:00
Richard Feldman
778d32f6b2
Acknowledge possibility of roc_alloc failing 2022-02-02 19:25:08 -05:00
Richard Feldman
9b05d8dd50
Move expect zig code out of utils 2022-02-02 19:15:47 -05:00
Richard Feldman
06203163eb
Use mutex more in expect failures 2022-02-02 18:59:34 -05:00