Commit graph

341 commits

Author SHA1 Message Date
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
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05: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
13d2238536
update roc_dbg in platforms 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
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
John Murray
298f93d20c
update a bunch of panic message to be capitalized 2023-11-28 20:46:09 -05:00
Brendan Hansknecht
248976d632
fix wasm tests 2023-11-28 16:40:43 -08: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
Brian Carroll
a2f4d418bb
Fix Wasm backend compile error in Web REPL build 2023-11-06 08:08:00 +00:00
Brian Carroll
eb76ec4e90
Simplify call_import and call 2023-11-05 23:57:37 +00:00
Brian Carroll
10b0357140
Trim load_symbols_for_call 2023-11-05 23:55:26 +00:00
Brian Carroll
87ef10a4e5
Remove unused args from lowlevel helpers 2023-11-05 23:45:29 +00:00
Brian Carroll
84a230a2e5
Remove unused args from call 2023-11-05 23:32:20 +00:00
Brian Carroll
4b0c5fd0c6
Delete pushes and pops for each instruction 2023-11-05 23:20:47 +00:00
Brian Carroll
b5d3af0522
Delete VmBlock, vm_block_stack 2023-11-05 23:20:47 +00:00
Brian Carroll
86a6a3ace5
Delete current_stack, VmSymbolState, stack_is_empty, current_stack 2023-11-05 23:20:46 +00:00
Brian Carroll
664de9b285
Delete verify_stack_match 2023-11-05 23:20:46 +00:00
Brian Carroll
a76c4420fa
CodeBuilder tracks which local variables are set 2023-11-05 23:20:46 +00:00
Brian Carroll
8636299155
Remove redundant pattern match 2023-11-05 23:20:46 +00:00
Brian Carroll
8fe9758460
Remove some stray calls to load_args 2023-11-05 23:20:46 +00:00
Brian Carroll
563ad8f1fb
Delete some unused code from codebuilder and storage 2023-11-05 23:20:46 +00:00
Brian Carroll
5719384ed9
Get rid of VM stack storage 2023-11-05 23:20:46 +00:00
Brian Carroll
3d57e7a89c
If host has a _start, don't bother searching for main 2023-10-23 13:50:36 -07:00
Brendan Hansknecht
6665a0ea4f
Fix malloc in wasm by setting __heap_end 2023-10-23 13:50:36 -07:00
Brian Carroll
8ead194c2c
Fix order of operations in gen_wasm host-to-app linking 2023-10-23 13:50:35 -07:00
Brendan Hansknecht
ca283197b9
fix LIST_RELEASE_EXCESS_CAPACITY arg count 2023-10-23 13:50:34 -07:00
Brian Carroll
197b626497
wasm: Delete load_symbol_zig. All tests pass! 2023-10-23 13:50:32 -07:00
Brian Carroll
12c6c25031
wasm: Fix number of args for higher-order lowlevels 2023-10-23 13:50:32 -07:00
Brian Carroll
b3bb477ccb
wasm: Fix struct calling convention for Zig lowlevels 2023-10-23 13:50:31 -07:00
Brian Carroll
4c4344b46c
wasm: delete CallConv, since now Zig==C (hopefully) 2023-10-23 13:50:31 -07:00
Brian Carroll
cc2b8b5d19
wasm: delete ReturnMethod::ZigPackedStruct 2023-10-23 13:50:31 -07:00
Brendan Hansknecht
e270f36422
add wasm backend hooks 2023-09-16 23:05:12 -07: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
5bcfd91f3a
add decimal comparisons and conversions to wasm backend 2023-09-13 23:19:07 +02:00
Richard Feldman
2da41be29f
Merge remote-tracking branch 'origin/main' into abilities-syntax 2023-08-10 20:36:01 -04:00
Folkert
44d03eebfa
switch over to alloca expr 2023-07-30 18:48:35 +02:00
Folkert
cdd2aab217
add alloca as an expression 2023-07-30 18:46:00 +02:00
Folkert
81b4b3d22c
fix layout comparison in wasm backend 2023-07-28 16:23:14 +02:00
Folkert
334253f47f
check inside a lambda set for whether it is reference counted 2023-07-26 20:06:37 +02:00
Ayaz Hafiz
a8d821bf87
Remove all box references 2023-07-12 15:50:00 -05:00
Ayaz Hafiz
7ea85e44d2
Add Layout::Erased 2023-07-12 14:43:24 -05:00
Ayaz Hafiz
283b9d53d6
Add Expr::ErasedLoad 2023-07-12 14:42:46 -05:00
Ayaz Hafiz
2c838aa5c2
Add mono Expr::ErasedMake 2023-07-12 14:40:16 -05:00
Ayaz Hafiz
3e3d3cc7f3
Type fixes 2023-07-12 14:21:28 -05:00