Fabian Schmalzried
|
11998b9cc8
|
f32FromParts and f64FromParts for repl
|
2024-04-01 21:08:10 +02:00 |
|
Fabian Schmalzried
|
473b8ef2d3
|
f32/f64toParts in repl only
|
2024-04-01 21:08:09 +02:00 |
|
Fabian Schmalzried
|
64e9899cad
|
Add Num.withDecimalPoint
|
2024-04-01 21:08:09 +02:00 |
|
Folkert
|
a2d1a1ddb0
|
simplify the string splitting code (by using std.mem.split)
|
2024-03-05 16:51:30 +01:00 |
|
Richard Feldman
|
37b154df4f
|
Remove Str.fromUtf8Range
Seamless slices make this obsolete!
|
2024-02-17 13:20:33 -05:00 |
|
Richard Feldman
|
d378a14414
|
Minor zig refactor
|
2024-02-13 19:49:11 -05:00 |
|
Richard Feldman
|
b2ce7e5fcf
|
Rearrange where usize -> u64 conversions happen
|
2024-02-13 12:50:40 -05:00 |
|
Richard Feldman
|
24a38c4a26
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-02-11 12:26:36 -05:00 |
|
Richard Feldman
|
0b42a902ab
|
Have List.withCapacity lowlevel use u64 over usize
|
2024-01-31 20:29:17 -05:00 |
|
Richard Feldman
|
aabd95404f
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-01-30 21:42:45 -05:00 |
|
Folkert
|
e16b25c93e
|
Num.pow for Dec
|
2024-01-30 16:33:50 +01:00 |
|
Folkert
|
db3b40a07b
|
Dec floor/ceiling/round
|
2024-01-29 13:39:38 +01:00 |
|
Richard Feldman
|
3e27e18566
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-01-29 07:23:58 -05:00 |
|
Folkert
|
a7212ceb7f
|
add fract/trunc functions to zig RocDec
|
2024-01-29 12:44:34 +01:00 |
|
Folkert
|
1e744dca7c
|
missing functions for dev backend for glue
|
2024-01-27 14:51:09 +01:00 |
|
Richard Feldman
|
9518d76cd8
|
Remove Num.bytesTo___ functions
These may be reintroduced in some form later,
but they don't handle endianness and it's not
clear builtins are the right place for them.
|
2024-01-26 16:23:19 -05:00 |
|
Richard Feldman
|
5b2998966b
|
Update List.replace to no longer use Nat
|
2024-01-26 16:06:09 -05:00 |
|
Richard Feldman
|
a8918a4e3b
|
Update List.dropAt to no longer use Nat
|
2024-01-26 16:06:09 -05:00 |
|
Richard Feldman
|
a71188dc30
|
Update List.sublist to no longer use Nat
|
2024-01-26 16:06:08 -05:00 |
|
Richard Feldman
|
2cf7b5b5ca
|
Update List.swap to no longer use Nat
|
2024-01-26 16:06:08 -05:00 |
|
Richard Feldman
|
27474d4ed8
|
Update List.reserve to no longer use Nat
|
2024-01-26 16:06:08 -05:00 |
|
Richard Feldman
|
bca6417a9d
|
Fix @as and @intCast argument order
|
2024-01-26 16:00:52 -05:00 |
|
Richard Feldman
|
9e3cff61d7
|
Remove Nat uses from Str
|
2024-01-26 16:00:33 -05:00 |
|
Brendan Hansknecht
|
62c4c2dcb5
|
Merge branch 'main' into main
|
2024-01-21 12:17:44 -08:00 |
|
Richard Feldman
|
2970fc4384
|
Merge remote-tracking branch 'origin/main' into str-unicode
|
2024-01-21 12:30:16 -05:00 |
|
Folkert
|
f1ffc36efe
|
add List.clone
|
2024-01-20 20:29:07 +01:00 |
|
Richard Feldman
|
b48fa0698a
|
Remove scalars and graphemes from Str
|
2024-01-17 21:30:34 -05:00 |
|
Fabian Schmalzried
|
946f00e91b
|
Remove duplicate code in bitcode
Signed-off-by: Fabian Schmalzried <fabhof@posteo.de>
|
2024-01-16 16:19:39 +01:00 |
|
Luke Boswell
|
6b77aa93d5
|
force windows_setjmp & windows_longjmp
|
2024-01-08 12:31:09 +11:00 |
|
Folkert
|
b9b19d6054
|
fix for bugged setjmp/longjmp on windows/llvm
|
2024-01-07 23:04:11 +01:00 |
|
Brendan Hansknecht
|
f262102299
|
cleanup list and str builtin naming from refcount to allocation
|
2023-12-10 19:52:28 -08:00 |
|
Brendan Hansknecht
|
cd42ed629a
|
tell windows that we use floats?
|
2023-12-09 18:11:22 -08:00 |
|
Brendan Hansknecht
|
797ba64003
|
remove all compiler-rt and libc code ports from zig bitcode
|
2023-12-09 18:11:22 -08:00 |
|
Brendan Hansknecht
|
be06599bb6
|
bundle compiler-rt through zig
|
2023-12-09 18:11:22 -08:00 |
|
Brendan Hansknecht
|
f738d5a2bf
|
remove unnecessary call to math.floor in bitcode
|
2023-12-09 18:11:22 -08:00 |
|
Richard Feldman
|
6f0857d7da
|
Merge pull request #6202 from roc-lang/substring-slices
Create seamless slices when getting a substring
|
2023-12-06 14:31:01 -05:00 |
|
Brendan Hansknecht
|
ca71409a76
|
add comment on slice construction
|
2023-12-06 11:26:52 -08:00 |
|
Brendan Hansknecht
|
087ca115c9
|
create seamless slices when getting a substring
|
2023-12-05 22:46:43 -08:00 |
|
Brendan Hansknecht
|
6692f5b15d
|
correct counting bits to return a u8
Also add an impl to the dev backend
|
2023-12-05 12:37:10 -08:00 |
|
Brendan Hansknecht
|
e336aa525c
|
Merge pull request #6062 from JRMurr/div-0-should-crash
Update zig `@panic` calls to `roc_panic` for numeric errors
|
2023-12-05 12:28:47 -08:00 |
|
Brendan Hansknecht
|
787d7f85ac
|
switch dbg arg ordering to make it backwards compatible
|
2023-12-02 21:18:32 -08:00 |
|
Brendan Hansknecht
|
6c60da2832
|
add dbg impl for use with roc test
|
2023-12-02 21:18:32 -08:00 |
|
Brendan Hansknecht
|
3966d63e2f
|
add src and location to dbg
|
2023-12-02 21:18:31 -08:00 |
|
Ayaz
|
20bcd70ad2
|
Merge branch 'main' into div-0-should-crash
|
2023-12-02 20:10:32 -06:00 |
|
Brendan Hansknecht
|
738098bfd0
|
Merge branch 'main' into 5830
|
2023-12-01 16:37:33 -08:00 |
|
Brendan Hansknecht
|
b62c9667d5
|
Correct typo
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
|
2023-11-29 21:05:49 -08:00 |
|
Brendan Hansknecht
|
e6cc43492a
|
rip out old dbg and setup reasonable base debug location info
|
2023-11-29 21:05:49 -08:00 |
|
Brendan Hansknecht
|
3d6c140a30
|
get minimal roc_dbg working
|
2023-11-29 21:05:49 -08:00 |
|
John Murray
|
298f93d20c
|
update a bunch of panic message to be capitalized
|
2023-11-28 20:46:09 -05:00 |
|
John Murray
|
d6f0709296
|
feedback: update some panic messages
|
2023-11-28 20:21:56 -05:00 |
|