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
Richard Feldman
896c010645
Move test_reporting into load to break cyclic dep
2023-11-10 16:16:54 -05:00
Richard Feldman
6bd9fcd6e9
roc_solve shouldn't depend on itself
2023-11-10 16:04:06 -05:00
Anton-4
6212820249
use List *
in len, withCapacity, isEmpty...
...
for consistency with Dict and Set
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-08 19:50:21 +01:00
Richard Feldman
6f6ab2bba7
Merge pull request #5963 from roc-lang/update-num-docs
...
Update some Num docs
2023-11-07 21:31:10 -05: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
Brendan Hansknecht
e6f5ac5d2a
typo and clippy
2023-11-06 21:04:50 -08:00
Brendan Hansknecht
23c2b15115
also add static lib support with fallback to object file
2023-11-06 21:04:50 -08:00
Brendan Hansknecht
1085be396e
add fallback to legacy host if preprocessed host is missing from prebuilt platform
2023-11-06 21:04:50 -08:00
Richard Feldman
9bd10704a3
Update some Num docs
2023-11-06 21:50:20 -05:00
Folkert
abff41c91f
update mono tests
2023-11-06 18:19:34 +01:00
Richard Feldman
e59d4e57c5
Add List.appendIfOk and List.prependIfOk
2023-11-06 18:13:15 +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
Anton-4
ad027e9c88
Merge pull request #5941 from isaacvando/main
...
Make List.dropFirst and List.dropLast drop n elements
2023-10-30 13:12:17 +01:00
Brendan Hansknecht
e099dd8b1c
Check lib64 before lib when linking
...
Depending on the linux distro, lib will contain 32bit libraries.
We want the 64bit version of libraries if they exist.
2023-10-29 21:43:15 -07:00
Isaac Van Doren
139d3c6f89
make dropFirst and dropLast drop n elements
2023-10-29 13:23:33 -05:00
Ayaz Hafiz
ce6c340ebc
First pass at semantic tokens
2023-10-25 17:15:04 -05:00
Ayaz Hafiz
03d132cf6d
Formatting
2023-10-25 17:14:50 -05:00
Ayaz Hafiz
886a367026
Go-to-definition basic support
2023-10-25 17:14:50 -05:00
Ayaz Hafiz
e954e074fb
Refactor for less laziness (right now)
2023-10-25 17:14:50 -05:00
Ayaz Hafiz
703ef6608e
Fix errors
2023-10-25 17:14:49 -05:00
Ayaz Hafiz
a002d568e0
Update match
2023-10-25 17:14:33 -05:00
Ayaz Hafiz
6e89821233
Update language server to support apps
2023-10-25 17:14:33 -05:00
Ayaz Hafiz
b706a57e16
Update LSP
2023-10-25 17:14:33 -05:00
Ayaz Hafiz
0db1cd9c28
Add hover
2023-10-25 17:14:33 -05:00
Ayaz Hafiz
9d365a8a57
Support basic diagnostic reporting
2023-10-25 17:14:32 -05:00
Brian Carroll
c50925240d
Merge pull request #5921 from roc-lang/wasm-repl-crash
...
report roc_panic to the user in the web repl
2023-10-25 19:22:10 +01:00
Brendan Hansknecht
0f5b112336
disable list_range_length_overflow
for dev wasm
2023-10-23 13:50:36 -07: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
Anton-4
845da6a5c9
clippy
2023-10-23 13:50:35 -07:00
Anton-4
7da37c0e98
rustfmt
2023-10-23 13:50:35 -07:00
Brian Carroll
6e2d7e4a8d
Improve Wasm debug instructions
2023-10-23 13:50:35 -07:00
Brendan Hansknecht
6b191fcfc2
stop zig from automatically stripping with opt-size
2023-10-23 13:50:35 -07:00
Brian Carroll
8ead194c2c
Fix order of operations in gen_wasm host-to-app linking
2023-10-23 13:50:35 -07:00