Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
...
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Brian Carroll
f2adf71873
Move alias analysis to its own crate instead of roc_mono
...
Shrinks roc_repl_wasm by 400kB (~8%)
2022-03-04 14:50:02 +00:00
Folkert
01a7fe77d4
even more wip
2022-03-02 17:32:50 +01:00
Anton-4
0fee3c7b23
exclude roc_std to fix windows link error
2022-03-02 07:56:56 +01:00
Folkert
d54c98e1aa
Merge remote-tracking branch 'origin/trunk' into constraints-soa
2022-03-01 22:39:51 +01:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes
2022-02-28 19:12:18 +01:00
Anton-4
b5d8ab7d6f
cleanup
2022-02-28 18:26:55 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors
2022-02-28 13:48:11 +01:00
ayazhafiz
b9a29bdb16
Make exhaustive checking its own crate
...
Prepares for moving exhaustiveness checking to the closer typechecking
phase. Doing this one step at a time so that git preserves the rename.
2022-02-27 20:28:25 -05:00
Brian Carroll
76b5982451
repl_test: use lazy_static to initialise wasm compiler once for all tests
2022-02-26 13:12:52 +00:00
Brian Carroll
3537f90e6d
repl: get Str working properly in CLI and Wasm REPLs
2022-02-26 13:12:52 +00:00
Brendan Hansknecht
c327681ebc
Wasmer: use cranelift for non-x86_64 since singlepass is not supported
2022-02-24 10:31:21 -08:00
Anton-4
8fee48c3fa
windows zig path validation workaround
...
std::fs::canonicalize adds a special windows prefix ?, zig erroneously (ziglang/zig#1509 ) does not allow ? in windows paths, dunce correctly removes this ? prefix
2022-02-22 16:17:21 +01:00
hafiz
ca9ecbea52
Merge pull request #2533 from rtfeldman/abilities!
...
[WIP] Spike for abilities and friends
2022-02-21 23:18:40 -05:00
ayazhafiz
90de82e295
Validation of opaques during canonicalization
2022-02-21 18:25:19 -05:00
Brian Carroll
e8571de1ae
Merge pull request #2517 from rtfeldman/repl-www
...
Web REPL initial version
2022-02-21 13:58:23 +00:00
Brian Carroll
bfca8ec955
Make wasmer features common across all packages
2022-02-21 08:36:34 +00:00
ayazhafiz
6b53692aac
Canonicalize opaque types
2022-02-20 13:47:01 -05:00
ayazhafiz
fa24e51593
Parse opaque types
2022-02-19 18:38:31 -05:00
Brian Carroll
a75aa52b91
repl_test: write Rust replacements for JS functions
2022-02-19 23:29:06 +00:00
Brian Carroll
ef97ad69ae
repl_wasm: refactor external interface to support Wasmer tests
2022-02-19 18:24:18 +00:00
Folkert
bb40adad3a
add memory representation tests
2022-02-19 16:04:13 +01:00
Anton-4
d6681f4e0a
Merge pull request #2160 from rtfeldman/editor-comments
...
support tld comments in docs and editor(reading only)
2022-02-10 11:49:10 +01:00
Brian Carroll
c61a18a200
Use custom macros for static assertions
2022-02-09 17:16:43 +00:00
Brian Carroll
858a3c3527
roc_load: Remove unused deadlock_detection feature of parking_lot crate, to enable Wasm REPL build
2022-02-08 11:03:48 +00:00
Brian Carroll
0af4361f2a
repl: continue fleshing out the Wasm repl code. Generate wrapper function.
2022-02-08 11:03:48 +00:00
Brian Carroll
b969f207c4
repl: Cargo build script for repl_wasm, generating the pre-linked binary
2022-02-08 11:03:48 +00:00
Brian Carroll
70e19053f0
repl: implement more of the JS/Wasm interface
2022-02-08 11:03:48 +00:00
Brian Carroll
4e855f1094
repl: delete and move files in repl_wasm
2022-02-08 11:03:48 +00:00
ayazhafiz
680bf8e0b7
Treat rigids as flex vars when checking number range types
2022-02-06 15:04:12 -05:00
Richard Feldman
a8e3d5f9b6
Merge remote-tracking branch 'origin/trunk' into expect-dont-panic
2022-02-03 22:25:40 -05:00
Brian Carroll
5904bb05ad
repl: remove unused dependencies from roc_repl_eval
2022-02-03 09:30:04 +00:00
Brian Carroll
eb1a16d429
repl: fix tests
2022-02-03 00:27:33 +00:00
Brian Carroll
03c99bdb44
repl: move tests into their own package
2022-02-02 23:42:46 +00:00
Brian Carroll
9ace2fd9a3
repl: delete app_memory and put "external memory" logic into repl_wasm
2022-02-02 23:08:12 +00:00
Brian Carroll
380c24ba80
repl: move LLVM specific logic into roc_repl_cli
2022-02-02 22:32:12 +00:00
Brian Carroll
33e6afe83c
repl: remove unused dependencies from roc_cli crate
2022-01-31 07:23:39 +00:00
Brian Carroll
c8c51f0cdc
repl: Move tests from roc_cli to roc_repl_cli
2022-01-30 16:20:48 +00:00
Brian Carroll
f098c6cb99
repl: initial working version with new crate structure
2022-01-30 09:12:29 +00:00
Folkert
b9c318e9fb
update the tests
2022-01-26 15:59:21 +01:00
Folkert
c663a35e16
final phase
2022-01-26 15:44:24 +01:00
Folkert
7e90812332
ptr_bytes -> target info, step 1
2022-01-26 14:28:26 +01:00
Folkert
2d23adb2a1
add roc_target crate
2022-01-26 13:55:06 +01:00
Mats Sigge
71f359fbdc
Move macros from roc_reporting to new roc_error_macros module
...
The `internal_error!` and `user_error!´ macros can't be used everywhere
when they live in `roc_reporting` due to circular dependencies.
2022-01-23 18:40:04 +01:00
Joshua Warner
2553cae5de
Fix region size check
2022-01-01 19:06:19 -08:00
Joshua Warner
5f7bec3ee8
Use assert_multiline_str_eq in repl_eval tests
2022-01-01 18:20:05 -08:00
Joshua Warner
34e24fa2ba
improve test_reporting error reports
2022-01-01 18:20:05 -08:00
Anton-4
f941e30b86
Merge branch 'trunk' of github.com:rtfeldman/roc into editor-comments
2022-01-01 11:10:54 +01:00
Richard Feldman
36e6adfad2
Use rustyline v9.1.1
2021-12-28 23:07:02 -05:00
Richard Feldman
c83a9b82e7
Fix RocResult double-free, add tests
2021-12-27 16:34:43 +01:00