Agus Zubiaga
52f84910a7
Support importing local files in the REPL
2024-04-26 23:33:19 -03:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
...
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Folkert
b0d57587e3
List.get with negative index in repl
2024-01-28 22:21:40 +01: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
Anton-4
4dbda48de7
update nix revision
2023-12-26 19:08:40 +01:00
Ayaz
20bcd70ad2
Merge branch 'main' into div-0-should-crash
2023-12-02 20:10:32 -06:00
Brendan Hansknecht
5dd0bdebc9
support seamless slice in expects
2023-12-02 15:57:53 -08: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
925cba48e1
update docs for wasm repl dev
2023-11-24 10:07:27 -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
398bf2f96c
update rust code to llvm-16 and fix build
...
also update:
- llvm frame address
- erased function type
- dec passing to zig
- gen dev storage size
2023-10-23 13:50:31 -07:00
Folkert
eb61d352f5
changes after review
2023-10-20 18:04:07 +02:00
Folkert
793ab8ec16
report a roc_panic to the user in the web repl
2023-10-20 14:47:42 +02:00
Richard Feldman
074401fbdf
Remove the whole #var1 thing
2023-09-17 06:31:51 -04:00
Brian Carroll
11a3eec49c
Tweak local dev instructions for repl_wasm
2023-09-13 08:37:27 +01:00
Brian Carroll
ead3c33eb8
Tweak comments and factoring
2023-09-10 11:28:29 +01:00
Brian Carroll
e37d0c45c6
Fix types in web REPL tests
2023-09-09 17:19:40 +01:00
Brian Carroll
01a4a4d356
Improve README instructions for web REPL local dev
2023-09-09 17:17:03 +01:00
Brian Carroll
adc97a0099
Renaming and comments
2023-09-09 16:01:31 +01:00
Brian Carroll
f007d5c33a
Integrate UI state machine into Web REPL
2023-09-09 15:47:22 +01:00
Brian Carroll
aa0e975845
clippy
2023-09-09 15:03:50 +01:00
Brian Carroll
8f59ee9492
Create a new crate roc_repl_ui for shared CLI/web UI code
2023-09-09 11:55:55 +01:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
...
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy
2023-06-02 15:23:05 -07:00
Folkert
4cd8f0a056
clippy --fix fixes
2023-04-21 12:05:51 +02:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-14 01:01:26 +01:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
...
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Brendan Hansknecht
d5e191d083
split up bitcode building to reduce dependency chains
2023-03-10 09:39:43 -08:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-08 19:46:00 +01:00
Anton-4
5e9c7b0621
fix metadata workspace, getrandom feature
2023-03-07 19:15:39 +01:00
Brendan Hansknecht
75e996c445
remove unused dependencies and ignore false positives
2023-03-06 20:09:01 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit
2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded
2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec
2023-03-06 16:36:18 -08:00
Folkert
454f3c603e
give the new exposed symbols to the surgical linker
2023-02-25 19:35:46 +01:00
Anton-4
ed78112fbc
windows build fixes
2023-02-17 15:44:15 +01:00
Ayaz Hafiz
ee7e9d4ab5
Update gen wasm
2023-01-11 14:39:11 -06:00
Ayaz Hafiz
7ab7fdfa7b
Push interned layouts as mut throughout the backend, and intern box layouts
2022-12-28 18:51:26 -06:00
Brian Carroll
e6325fa78f
repl_wasm: rename Cargo feature wasmer->wasi_test
2022-12-16 14:52:05 +00:00
Richard Feldman
a8b6fa051a
Centralize host tempfile builder logic
2022-11-22 20:52:44 -05:00
Richard Feldman
0b73ea69af
Make sure tempfiles don't get dropped too early
2022-11-22 20:22:08 -05:00
Richard Feldman
9c1291d57d
Give tempfiles the file extensions Zig expects
2022-11-22 19:19:54 -05:00
Richard Feldman
e97a5fe7f6
Use include_bytes! so builtin hosts live in binary
2022-11-22 17:57:32 -05:00
Brian Carroll
a35e912c0a
Fix wasm repl tests
2022-11-21 19:48:38 +00:00
Brian Carroll
a3cfdd478d
rename called_preload_fns to called_fns
2022-11-21 19:48:02 +00:00
Folkert
662bf1de99
more workspace dependencies
2022-11-13 16:10:02 +01:00
Luke Boswell
cec67721e6
merge upstream/main
2022-11-06 09:27:46 +11:00
Luke Boswell
2c2a70b8e7
Merge remote-tracking branch 'upstream/main' into rust-docs
2022-11-06 09:15:57 +11:00
Richard Feldman
c03dc17ab4
Merge remote-tracking branch 'origin/main' into repl
2022-11-05 01:04:44 -04:00