Folkert
|
2b07b8c78d
|
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
|
2022-04-13 21:45:40 +02:00 |
|
Richard Feldman
|
f39f7eda03
|
Merge pull request #2832 from rtfeldman/div-no-result
`div`, `divCeil`, `divFloor` panic + add checked versions returning `Result`
|
2022-04-12 15:10:06 -04:00 |
|
Kevin Gillette
|
1c3700e22e
|
Minor typo/formatting fixes
|
2022-04-11 19:11:37 -06:00 |
|
Richard Feldman
|
d81228df80
|
cargo fmt
|
2022-04-11 13:17:46 -04:00 |
|
Nikita Mounier
|
8206f345c7
|
Merge remote-tracking branch 'origin/trunk' into div-no-result
|
2022-04-11 11:45:06 +00:00 |
|
Nikita Mounier
|
4ecf2a8c24
|
Modify division behaviour to panic when dividing by 0, and add divChecked , divFloorChecked and divCeilingChecked` for safe alternatives which return a Result, mimicking the previous behaviour.
|
2022-04-11 11:23:33 +00:00 |
|
Folkert
|
fe77cb3b16
|
write functions, that can be written in roc, in roc
|
2022-04-09 11:34:24 +02:00 |
|
Folkert
|
e9f7427c67
|
fix some things in Num
|
2022-04-08 20:24:17 +02:00 |
|
Folkert
|
b7eacbf120
|
some tweaks to the builtin roc code
|
2022-04-08 19:35:26 +02:00 |
|
Folkert
|
0ccc5f8105
|
fix module names in builtin roc code
|
2022-04-08 18:55:41 +02:00 |
|
Folkert
|
1d81dd6c8b
|
add import to Str.roc
|
2022-04-08 16:49:38 +02:00 |
|
Folkert
|
d6632981c8
|
update Num.roc
|
2022-04-08 16:47:17 +02:00 |
|
Folkert
|
1d0f9e9192
|
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
|
2022-04-08 15:47:11 +02:00 |
|
Richard Feldman
|
6adaf0905e
|
Fix missing * in type annotation
|
2022-04-07 16:29:17 -04:00 |
|
Richard Feldman
|
cd00a98636
|
Add toF32/64 and checked versions
|
2022-04-07 16:13:57 -04:00 |
|
Richard Feldman
|
bd623d65bc
|
Formatting whitespace
|
2022-04-07 16:13:57 -04:00 |
|
Folkert
|
68536e4026
|
Merge remote-tracking branch 'origin/trunk' into list-str-capacity
|
2022-04-04 19:55:04 +02:00 |
|
Folkert
|
1e397e950d
|
changes after review
|
2022-04-04 19:53:33 +02:00 |
|
Brendan Hansknecht
|
3ef40e2e82
|
use exhaustive refcount pattern match
|
2022-04-03 13:29:16 -07:00 |
|
Brendan Hansknecht
|
a1c469232f
|
simplify allocate_with_refcount to be closer to the old llvm version
|
2022-04-01 16:27:42 -07:00 |
|
Brendan Hansknecht
|
a4f0ed1990
|
flip max for min
|
2022-04-01 15:07:00 -07:00 |
|
Brendan Hansknecht
|
3606543ac0
|
keep normal as the default refcounting
|
2022-04-01 15:03:16 -07:00 |
|
Brendan Hansknecht
|
2093405ffc
|
make sure the rodata refcounts aren't incremented
|
2022-04-01 15:02:01 -07:00 |
|
Brendan Hansknecht
|
cf238862f4
|
fix formatting
|
2022-04-01 14:12:31 -07:00 |
|
Brendan Hansknecht
|
577282ced3
|
have zig allocate all refcounts
|
2022-04-01 14:06:28 -07:00 |
|
Brendan Hansknecht
|
805e4ef5d3
|
change refcount type to enum so none can be select
|
2022-04-01 13:48:14 -07:00 |
|
Brendan Hansknecht
|
56dc503d11
|
fix formatting
|
2022-03-31 22:26:18 -07:00 |
|
Brendan Hansknecht
|
a75ecb2883
|
add variable to enable atomic refcounts for testing
|
2022-03-31 22:18:25 -07:00 |
|
Folkert
|
e94bdb0ed8
|
use a nullable pointer to store the output of strSplitInPlace
|
2022-03-30 19:18:29 +02:00 |
|
Folkert
|
85bf881b3b
|
make Dict.keys and Dict.values use list helpers for returning
|
2022-03-30 19:14:52 +02:00 |
|
Folkert
|
d49ee97216
|
use a nullable pointer to store the output of strSplitInPlace
|
2022-03-30 17:32:24 +02:00 |
|
Folkert
|
c73c01aa34
|
Merge remote-tracking branch 'origin/trunk' into list-str-capacity
|
2022-03-30 14:07:17 +02:00 |
|
Folkert
|
9528f63d87
|
make Dict.keys and Dict.values use list helpers for returning
|
2022-03-26 12:36:14 +01: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
|
1716879f82
|
add headers to stdlib roc files
|
2022-03-23 21:19:37 +01:00 |
|
Folkert
|
0a6335e772
|
start on roc_load build.rs script for building the builtins
|
2022-03-23 21:19:34 +01:00 |
|
Folkert
|
d607d6db05
|
rename standard_library -> roc
|
2022-03-23 21:19:15 +01:00 |
|
Folkert
|
aaf042bba5
|
Merge branch 'add-stdlib-roc-files' into builtins-in-roc
|
2022-03-23 17:36:13 +01:00 |
|
Folkert
|
ca16099e83
|
add standard library .roc files
|
2022-03-23 17:13:16 +01:00 |
|
Brian Carroll
|
22ccadccc9
|
Merge pull request #2699 from rtfeldman/wasm-zig-tests
Run Zig builtin tests on Wasm too
|
2022-03-19 20:36:54 +00:00 |
|
Folkert
|
4e1197165b
|
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc-delayed-alias
|
2022-03-18 21:25:52 +01:00 |
|
Folkert
|
6134e57921
|
Merge remote-tracking branch 'origin/trunk' into list-str-capacity
|
2022-03-18 18:13:55 +01:00 |
|
Folkert
|
89223c4032
|
fix zig tests
|
2022-03-13 20:03:06 +01:00 |
|
Folkert
|
4ef6cba23a
|
Merge branch 'split-types-values' into type-checking-storage-subs
|
2022-03-13 17:43:24 +01:00 |
|
Richard Feldman
|
e1cc3edb48
|
Update docs for Dict
|
2022-03-12 21:59:37 -05:00 |
|
Folkert
|
fcb34272da
|
some zig functions need to accept arguments by-pointer now
because otherwise stores to alloca's disappear. Very odd
|
2022-03-13 00:07:32 +01:00 |
|
Folkert
|
e3e9215578
|
Merge remote-tracking branch 'origin/trunk' into type-checking-storage-subs
|
2022-03-12 14:10:43 +01:00 |
|
Brian Carroll
|
b57c0ee6bf
|
CI: Run Zig builtin tests on wasm as well as host
|
2022-03-12 08:09:23 +00:00 |
|
Folkert
|
28ce49c273
|
use lazy_static
|
2022-03-12 00:18:06 +01:00 |
|