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
440a3cd15b
started moving tokenizer and grammar for syntax_highlighting
2022-02-11 13:54:10 +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
Anton-4
3047fc6845
grammar progress, made temp tokenizer
2022-01-21 20:32:28 +01:00
Anton-4
38cc6096a8
started on rust-peg grammar
2022-01-14 19:54:39 +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
Joshua Warner
a0cf5d0e70
Add simple benchmark for the parser: parse false-interpreter
2021-12-24 11:54:42 -08:00
Joshua Warner
4fed812389
add test_fmt_examples
2021-12-21 17:25:36 -08:00
satotake
a7fe2e3e53
Fix llvm Num.toFloat width conversion
...
Close #2156
2021-12-11 08:12:57 +00:00
Richard Feldman
aab601366e
Merge pull request #2152 from rtfeldman/inkwell-llvm-13
...
update inkwell to ease the llvm13 transition
2021-12-09 19:16:23 -05:00
Anton-4
8c82025721
Merge branch 'trunk' of github.com:rtfeldman/roc into editor-comments
2021-12-09 13:55:44 +01:00
Brian Carroll
1dda8859c4
Update gen_wasm's error handling to remove Result and use macros consistently
2021-12-09 00:11:44 +00:00
Folkert
40246607aa
update inkwell to ease the llvm13 transition
2021-12-08 19:36:29 +01:00
Anton-4
7fb00140c1
Merge pull request #2115 from rtfeldman/arraystring
...
fixes for arraystring insertion PR
2021-12-08 10:04:39 +01:00
Anton-4
d6a27d1e53
Merge branch 'trunk' of github.com:rtfeldman/roc into editor-comments
2021-12-04 11:00:03 +01:00
Brendan Hansknecht
67f5826c48
use byte array to avoid allocation when using arrstring
2021-12-02 09:47:58 -08:00
Joshua Warner
85e7360359
Fix up assert_multiline_str_eq to work regardless of whether pretty_assertions::assert_eq is in scope
2021-12-01 16:14:34 -08:00
Folkert
82bb341e9c
add constraint soa form
2021-12-01 19:26:01 +01:00
Anton-4
5bd776f972
debugging inline comment bug
2021-12-01 16:57:28 +01:00
Folkert de Vries
1c7671c9ab
Merge pull request #2111 from rtfeldman/joshuawarner32/multiline-string-asserts
...
Make assert output for fmt+parse tests more understandable
2021-12-01 13:35:20 +01:00
Joshua Warner
fdeafe4bab
Make assert output more understandable
2021-11-30 17:48:24 -08:00
Anton-4
038c296891
replaced ArrayString with arrayvec
2021-11-30 14:06:36 +01:00
Brendan Hansknecht
a63dd1eb61
use unimplemented! and internal_error! instead of result in dev backend
2021-11-27 12:38:29 -08:00
Folkert
2d0d54e13e
try stack allocation for small vectors
2021-11-27 01:31:48 +01:00
Lucas
f02ed47f31
Merge pull request #2016 from rtfeldman/aarch64_packed_structs
...
Packed Structs
2021-11-23 14:39:02 -05:00
Folkert
64869ffb8b
Merge remote-tracking branch 'origin/trunk' into layout-builtin-numbers-refactor
2021-11-21 19:22:32 +01:00
Folkert
c4ec9aa898
working mono
2021-11-20 23:25:30 +01:00
Folkert
22fb31198a
use bumpalo to reduce allocations in deep_copy_var_to
2021-11-19 19:21:26 +01:00
rvcas
8544782173
feat: trying some things out
2021-11-18 18:52:55 -05:00
Richard Feldman
1d330d9147
Merge pull request #1982 from rtfeldman/joshuawarner32/parser-snapshot-testing
...
Convert most test_parser tests to "snapshot" tests
2021-11-17 16:01:43 -05:00
Joshua Warner
d661646748
Fix test formatting and actually assert that they pass
2021-11-14 18:31:44 -08:00
Folkert
e2f7606f25
shrink higher order with indirection
2021-11-13 15:42:47 +01:00
Folkert
2262dcb3f9
clean up some other dependencies
2021-11-10 16:25:03 +01:00
Folkert
5632e3159d
remove im dependency where not needed
2021-11-10 16:00:22 +01:00
Brian Carroll
d0f1698db2
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-link-builtins
2021-11-09 15:08:43 +00:00
Brian Carroll
141480aa8d
Remove unused dependencies from test_wasm
2021-11-09 14:43:54 +00:00
Brian Carroll
c7baaceae9
Fix dependencies
2021-11-09 14:28:15 +00:00
Brendan Hansknecht
360974398a
Merge test_dev, test_wasm, and test_wasm_util into test_gen
2021-11-08 19:31:20 -08:00
Brendan Hansknecht
bfdd454afa
Remove unused dependency
2021-11-07 18:27:28 -08:00
Brendan Hansknecht
c46b56bec8
Exclude test only dependencies from regular builds
2021-11-07 18:00:49 -08:00
Brian Carroll
ce9658684a
Move wasmer dependency from gen_wasm to test_wasm
2021-11-07 22:56:28 +00:00
Brendan Hansknecht
deb0d167e8
Minimize clap features
2021-11-06 15:07:21 -07:00
Brendan Hansknecht
74a55f53f3
Switch back to cranelift due to versioning and aarch64 issues
2021-11-06 14:24:58 -07:00
Brendan Hansknecht
40f0271ccf
Fix M1 mac build
...
I changed wasmer to use the llvm backend because it compiles the fastest and supports aarch64.
If we later run into llvm versioning issues of some sort, we should switch this to cranelift.
Also re-adds serde-json which is used on macos.
2021-11-06 14:08:19 -07:00
Anton-4
cbd4de2799
update palette, wgpu11 fixes
2021-11-06 14:10:02 +01:00
Brendan Hansknecht
11ece557ed
Make gen_dev tests a single executable
2021-11-05 21:04:41 -07:00
Brendan Hansknecht
c595668b37
Remove dependency on cranelift
2021-11-05 19:59:42 -07:00
Brendan Hansknecht
d49ac68bcc
Update dep with major version changes
2021-11-05 19:19:37 -07:00
Brendan Hansknecht
61174c4bc5
Update dependencies
2021-11-05 17:02:46 -07:00
Brendan Hansknecht
bddc08c977
Remove unused dependencies
2021-11-05 16:58:11 -07:00
Brian Carroll
e10b7d1f2c
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_module_builder
2021-11-03 11:32:45 +00:00
Brian Carroll
87f6246851
Remove parity-wasm!
2021-11-03 10:36:08 +00:00
Anton-4
a3fc724df3
removed unused maplit
2021-11-03 10:50:25 +01:00
Richard Feldman
ac42470c81
Drop unused libc deps
2021-11-02 19:37:38 -04:00
Richard Feldman
abe0da2eb0
Drop some unused deps
2021-11-02 19:37:05 -04:00
Richard Feldman
3f310df4b5
Drop unused roc_fmt dep
2021-11-02 19:37:05 -04:00
Richard Feldman
386c890b57
Drop unused roc_fmt dep
2021-11-02 19:37:05 -04:00
Richard Feldman
14dc4dec88
Drop unused inlinable_string dep
2021-11-02 19:37:05 -04:00
Folkert
b6373c4efb
move files over
2021-11-02 21:39:16 +01:00
Matthias Beyer
9ece0fa0be
Fix: Do not use custom clone of clap, but upstream
...
The trick was that the dependency string must be "= 3.0.0-beta.1", not
"~3.0.0-beta.1"!
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 18:14:27 +02:00
Anton-4
39974ea039
Merge branch 'trunk' of github.com:rtfeldman/roc into function_closure_to_mark_node
2021-10-25 14:34:58 +02:00
Brian Carroll
1be6fd1222
Switch to fork of parity-wasm that can support bumpalo vectors
2021-10-21 17:14:07 +02:00
Anton-4
e003725f21
cleanup unwrap
2021-10-15 19:01:41 +02:00
Anton-4
428b4574ae
Merge branch 'trunk' of github.com:rtfeldman/roc into function_closure_to_mark_node
2021-10-15 12:04:51 +02:00
Anton-4
03d9d41a7a
debugging closure -> MarkupNode
2021-10-08 20:19:52 +02:00
Richard Feldman
c07838e87c
Merge pull request #1749 from rtfeldman/editor_sound
...
play sound on F12
2021-10-07 22:36:31 -04:00
Anton-4
a9e472df96
Merge branch 'trunk' of github.com:rtfeldman/roc into editor_sound
2021-10-05 16:53:18 +02:00
Anton-4
ab665b7380
Merge branch 'trunk' of github.com:rtfeldman/roc into docs_markup
2021-10-05 11:58:45 +02:00
Anton-4
548d806a88
def->MarkupNode working
2021-10-04 19:26:31 +02:00
Anton-4
fd8167113f
Merge branch 'trunk' into crate-expr2-markupnode
2021-10-04 09:25:59 +02:00
Richard Feldman
9da561bb3c
Merge pull request #1725 from rtfeldman/wgpu-10
...
Upgrade editor to wgpu 10
2021-10-03 15:47:56 -05:00