Richard Feldman
e8a0b0930d
Fix some usize -> u64 in List patterns
2024-02-13 12:50:55 -05:00
Folkert
7c104e291b
fix two repl panics
...
they now hit a runtime error and then report the type errors that caused the crash
2024-02-11 19:04:26 +01:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat
2024-02-11 12:26:36 -05:00
Folkert de Vries
0e7fee4e7f
Merge pull request #6486 from roc-lang/remove-unused-lowlevel
...
Remove unused lowlevel StrGetCapacity
2024-02-04 13:57:46 +01:00
JRI98
ad6900514b
Create symbols for struct fields before record update
2024-02-02 23:49:48 +00:00
Richard Feldman
f79ff6d496
Remove unused lowlevel StrGetCapacity
2024-02-01 21:37:16 -05:00
Richard Feldman
3e27e18566
Merge remote-tracking branch 'origin/main' into remove-nat
2024-01-29 07:23:58 -05:00
Folkert
1e744dca7c
missing functions for dev backend for glue
2024-01-27 14:51:09 +01:00
Richard Feldman
204cee7d60
Clean up more unused Nat stuff
2024-01-26 16:23:21 -05:00
Richard Feldman
76dcbee25f
Drop unused target_info from layout
2024-01-26 16:23:21 -05: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
c4497f2c1c
Remove Nat from Num
2024-01-26 16:19:51 -05:00
Richard Feldman
70a1def63b
Update some docs to not reference Nat
2024-01-26 16:06:07 -05: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
Anton-4
cd632fe549
Merge branch 'main' of github.com:roc-lang/roc into clippy-1.74
2023-12-25 17:05:37 +01:00
JRI98
689a1ff352
Fix list rest bind in when branch tuple destructure
2023-12-21 11:55:29 +00:00
Brendan Hansknecht
087ca115c9
create seamless slices when getting a substring
2023-12-05 22:46:43 -08:00
Brendan Hansknecht
3966d63e2f
add src and location to dbg
2023-12-02 21:18:31 -08:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74
2023-12-02 20:09:06 -06:00
Brendan Hansknecht
b7f72eff86
add basic Dbg desugaring and LowLevelDbg
2023-11-29 21:05:48 -08:00
Folkert
4fafc669b8
in record fields give a forced imported thunk a unique symbol
2023-11-28 23:47:53 +01:00
Folkert
32221a2e99
fix dropping the wrong argument for List.map when it captures
2023-11-27 23:02:44 +01:00
Norbert Hajagos
70a10e45c1
Merge branch 'main' into get-pointer
2023-11-22 08:30:38 +01:00
HajagosNorbert
d71b386715
Merge branch 'main' into get-pointer
2023-11-21 11:15:28 +01:00
HajagosNorbert
6975294278
format code & replace vec!(in arena;...) with arena.alloc([...])
2023-11-21 11:09:42 +01:00
Brendan Hansknecht
af5b209c9f
misc cleanup suggestions
2023-11-20 21:33:47 -08:00
Brendan Hansknecht
3e39a32f0e
cleanup reversed stores to make logic clearer
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
2fb093d4c8
clippy
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
223efe4a2d
fix using .. as name
in list patterns
2023-11-20 21:09:11 -08:00
Folkert
c019ced31d
various
2023-11-18 23:05:55 +01:00
Folkert
b3177a157c
first automatic changes
2023-11-18 22:38:04 +01:00
HajagosNorbert
9c21ac1388
rename to GetElementPointer, index -> indices
2023-11-13 15:48:05 +01:00
HajagosNorbert
90223022af
remove tag_id in favor of index
2023-11-13 15:48:05 +01:00
HajagosNorbert
347431d1df
index to slice of indicies
2023-11-13 15:48:05 +01:00
Yuki Omoto
8580b62f7e
Add runtime error to bring an error to roc instead of using wrong number value just to continue the program
2023-11-08 00:38:03 +09:00
Yuki Omoto
75dff53cc8
Fix crash caused by number related type error
...
This fixes an issue where number related type errors cause a crash.
For example, using a negative number for `Nat` like List.dropAt [1, 2, 3] -1` as in #5916 .
so as f64 number.
2023-11-08 00:38:03 +09:00
Folkert
6ab54c02e2
drop into_iter in some places
2023-10-07 19:11:36 +02:00
Anton-4
f078204c1f
rust 1.71.1 upgrade
2023-09-26 12:08:16 +02:00
Brendan Hansknecht
108d9a54e3
Switch Num.tan to a zig builtin
...
It should be able to share some work between sine and cosine to run faster.
2023-09-16 21:27:51 -07:00
Folkert
e850f94d05
a proper fix for llvm wasm checked arithmetic
2023-09-15 14:53:00 +02:00
Folkert
5557fb7e34
repl helper codegen
2023-09-14 14:39:12 +02:00
Richard Feldman
85c0eaddcb
Merge pull request #5773 from roc-lang/remaining-dev-backend-lowlevels
...
Remaining dev backend lowlevels
2023-09-14 08:35:53 -04:00
Folkert
7c584dd5d8
disable debugging info
2023-09-14 11:51:03 +02:00
Folkert
520bac2905
List.sortWith and friends
2023-09-14 11:46:52 +02:00
Folkert
51067f0ae4
add List.map*
2023-09-14 11:46:49 +02:00
Folkert
3909443ef4
fix two bugs in the dev backend
2023-09-13 20:24:17 +02:00
Richard Feldman
2ebc1c415e
Default decimal literals to Dec, not F64
2023-09-13 20:24:14 +02:00
Richard Feldman
dc7e8b43bd
Rename Float to Frac in more places
2023-09-11 08:50:13 -04:00