Commit Graph

489 Commits

Author SHA1 Message Date
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
Richard Feldman
e3a8d436cf
Merge pull request #1607 from rtfeldman/editor-let-value
file loading/saving/running, headers, top level defs
2021-10-03 15:45:08 -05:00
Folkert
2fe431f1b8 update morphic (can solve quicksort now) 2021-10-02 22:45:31 +02:00
Anton-4
28cf11a1d9 started on docs to markup to html 2021-09-29 20:05:03 +02:00
Anton-4
168c511988 Merge branch 'docs-parse-code-blocks' of github.com:rtfeldman/roc into crate-expr2-markupnode 2021-09-29 16:09:02 +02:00
Anton-4
082890a8cb sound on F12 with threadpool 2021-09-29 13:48:53 +02:00
Anton-4
99100be148 trying to play sound on F12 2021-09-28 19:54:05 +02:00
Anton-4
69391b26d7 removed lang and markup folder from editors, changed imports to use new crates 2021-09-25 17:14:32 +02:00
Anton-4
f9e2e3469b separated markup and util crates, no more errors 2021-09-24 20:08:49 +02:00
Anton-4
bae7a12e9e Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-24 11:52:27 +02:00
Anton-4
59831f2e85 more refactoring for seperate ast crate 2021-09-22 21:02:43 +02:00
Anton-4
af34541b67 upgrade to wgpu-10, fix save on s without Ctrl 2021-09-21 11:13:56 +02:00
Anton-4
35b8159c8b
Merge branch 'trunk' into editor-let-value 2021-09-20 11:15:25 +02:00
Brendan Hansknecht
8a30b4803a Merge branch 'trunk' into integrate-linker 2021-09-16 16:27:50 -07:00
Folkert
15fd312b6f hook up wasm and assembly dev backends 2021-09-15 20:53:00 +02:00
Brendan Hansknecht
e2411ea83f Add surgical linking to frontend with simple dummy lib creation 2021-09-14 23:06:22 -07:00
Brendan Hansknecht
e96291e9a7 Enable rebuilding hosts into a dynamic executable 2021-09-14 21:59:15 -07:00
Brendan Hansknecht
0ef9498a69 Rebuild hosts in a separate thread and only optimize when specified 2021-09-14 14:46:03 -07:00
Brendan Hansknecht
89317f5573 Cargo.lock update 2021-09-11 22:56:40 -07:00
Brendan Hansknecht
1d23f4c0d2 Merge branch 'trunk' into linker 2021-09-11 22:55:07 -07:00
Brendan Hansknecht
2aac530327 Change the default roc allocator to mimalloc 2021-09-11 19:02:15 -07:00
Chadtech
a6ec5284df Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks 2021-09-11 13:26:55 -04:00
Anton-4
35ca4c7723 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-10 12:10:50 +02:00
Brendan Hansknecht
1caa92b173
Merge branch 'trunk' into linker 2021-09-08 20:20:18 -07:00
Brendan Hansknecht
5784272694 Merge branch 'trunk' into update-deps 2021-09-08 16:12:24 -07:00
Brendan Hansknecht
7408c152b7 Merge branch 'trunk' into linker 2021-09-08 15:52:51 -07:00
Anton-4
d922d72d83 create roc project dir if none exists 2021-09-08 20:01:46 +02:00
Brendan Hansknecht
b97035ec53 Update dependencies 2021-09-08 09:24:32 -07:00
Anton-4
deabab11fc Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-07 17:05:16 +02:00
Folkert
f4379673b4 Merge remote-tracking branch 'origin/trunk' into gen_wasm 2021-09-07 16:45:57 +02:00
Brendan Hansknecht
08aa3d31d4
Merge branch 'trunk' into gen-dev/mem 2021-09-05 21:31:05 -07:00
Brendan Hansknecht
0696044a5c Update dev backend to allow reusing stack space and using less memory 2021-09-05 21:21:44 -07:00
Richard Feldman
ebd47a4113
Merge pull request #1674 from rtfeldman/from-wasm32-memory
From wasm32 memory
2021-09-05 22:19:20 -04:00
Folkert
f8809a3eef rename wasm -> wasm32 2021-09-05 14:08:14 +02:00
Folkert
f616bd802f upgrade llvm-sys to 120.2 2021-09-04 21:59:55 +02:00
Brendan Hansknecht
56dc278fae Merge branch 'trunk' into linker 2021-09-03 19:57:32 -07:00
Anton-4
3397d780b8 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-03 14:44:21 +02:00
Folkert
ff29b19338 add wasm tests 2021-09-01 22:35:14 +02:00
Brian Carroll
9ba7076d8e Cleanups after self-review
- Fix clippy warnings
- Improve a comment
- Delete commented-out lines in Cargo.toml
- Checkin Cargo.lock
2021-09-01 19:37:15 +01:00
Folkert
c7930cbbd5 drop wasmtime dependency 2021-08-30 21:43:58 +02:00
Chadtech
c53c5fdb33 Merge branch 'trunk' of github.com:rtfeldman/roc into docs-parse-code-blocks 2021-08-29 15:57:19 -04:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Brendan Hansknecht
c7f5793d2a Merge branch 'trunk' into linker 2021-08-28 15:15:17 -07:00
Folkert
72e6a34a0d proof of concept 2021-08-28 14:48:24 +02:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Jared Ramirez
8594f2efbe Change how decimals are stored in mono 2021-08-26 11:18:26 -07:00
Chadtech
9e12f6d3ec ToHtml trait for docs and some rudimentary syntax highlighting that is definitely a work in progress 2021-08-22 15:53:26 -04:00
Anton-4
169520f956 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-08-21 12:05:59 +02:00
Brendan Hansknecht
bf4d5d39aa Add metadata format and saving 2021-08-20 20:52:43 -07:00
Brendan Hansknecht
4d61eae249 Add disassembly and symbol scanning for x86_64 2021-08-20 13:19:55 -07:00
Brendan Hansknecht
97997acffa Extra application function and plt data from platform 2021-08-19 22:54:14 -07:00
Brendan Hansknecht
a85eca8d8c Add basic object parsing and a rough TODO list of steps 2021-08-19 20:40:14 -07:00
Jared Ramirez
d69b9173fc Also store f64 for things like pattern comparisons, etc 2021-08-18 17:18:13 -07:00
Brendan Hansknecht
c6217ebfdb Roc linker library base setup 2021-08-16 20:06:44 -07:00
Anton-4
45629a38d1 parse header progress 2021-08-13 19:54:35 +02:00
Anton-4
e572762a63 Merge branch 'trunk' of github.com:rtfeldman/roc into no-unnecessary-benches 2021-08-04 11:57:43 +02:00
Folkert
f301de5576 assert type sizes 2021-08-03 22:16:27 +02:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Folkert
9361f45610 use IdentStr for TagName 2021-08-03 19:28:28 +02:00
Richard Feldman
3bfaea3c2a
Merge branch 'trunk' into small-ident 2021-08-03 10:01:48 -04:00
Anton-4
ca060f4295 cfold stack limit fix 2021-08-03 12:42:19 +02:00
Richard Feldman
00eefa1947 Add IdentStr 2021-08-02 23:54:10 -04:00
Richard Feldman
fbc7984818 Drop libc dependency from roc_std 2021-08-02 22:29:23 -04:00
Richard Feldman
f06370be43 Add roc_parse to docs crate 2021-08-01 10:23:16 -04:00
Folkert
116960fbf4 fix dependencies 2021-07-25 20:17:11 +02:00
Chadtech
62d5633546 Fixed problems with docs failing to render and included test to validate that behavior 2021-07-03 14:51:40 -04:00
Anton-4
47fe878492 updated to wgpu 9.0, added editor inspiration 2021-06-25 19:07:14 +02:00
Folkert
bb25746928 Merge remote-tracking branch 'origin/trunk' into name-functions-with-morphic 2021-06-13 13:15:18 +02:00
Folkert
dc8d1135c9 use inkwell's invoke stuff 2021-06-13 00:17:35 +02:00
Folkert
4151dac452 Merge branch 'update_zig' into name-functions-with-morphic 2021-06-09 14:57:25 +02:00
Folkert
20f6e03cfb Merge remote-tracking branch 'origin/trunk' into name-functions-with-morphic 2021-06-09 14:57:09 +02:00
Folkert
8e227c7e7c update to llvm 12 2021-06-07 20:02:59 +02:00
Folkert de Vries
87dbd044ea
Merge branch 'trunk' into inkwell-llvm-12-bump 2021-06-07 18:40:11 +02:00
Folkert
65731d8691 bump inkwell to a version that supports llvm12 (still using llvm10) 2021-06-07 18:37:34 +02:00
Richard Feldman
57676057fa Rename gen to gen_llvm
This way, we have gen_dev and gen_llvm representing the two
different compiler backends.
2021-06-06 07:56:47 -04:00
Folkert
40792187fe setup 2021-06-04 22:26:45 +02:00
Richard Feldman
d061363243
Merge pull request #1371 from rtfeldman/thread-morphic
Morphic foundations
2021-06-02 22:09:47 -04:00
Folkert
fbac262023 update morphic 2021-06-02 16:04:24 +02:00
Anton-4
d0c141e689 removed unused serde dependency 2021-06-02 16:00:27 +02:00
Anton-4
3c0115aae1 removed unused dependencies for cli 2021-06-02 15:37:31 +02:00
Anton-4
93a77f0518 adapted safe-earthly script to be capable of running benchmarks 2021-06-02 14:36:53 +02:00
Anton-4
d1948d99d0 Merge branch 'trunk' of github.com:rtfeldman/roc into benchmarks 2021-06-02 10:56:30 +02:00
Folkert
1353c5e26f Merge remote-tracking branch 'origin/move_mono_test' into catch-cleanup 2021-06-01 21:43:30 +02:00
Folkert de Vries
d263016a84
Merge branch 'trunk' into morphic-static-strings 2021-05-30 23:03:29 +02:00
Folkert
54057c90b8 new mono testing mechanism 2021-05-30 18:09:41 +02:00
Folkert
22a4df0e5e add test_mono_macros crate 2021-05-30 16:48:42 +02:00
Richard Feldman
9e8dddc0fd Bump inkwell version 2021-05-29 21:47:24 -04:00
Folkert
3636e18a18 centralize inkwell imports 2021-05-29 21:46:33 +02:00
Folkert
25c9089334 Revert "thread alias analysis solutions"
This reverts commit b75c40e65b.
2021-05-28 23:57:26 +02:00
Folkert
b75c40e65b thread alias analysis solutions 2021-05-28 23:57:11 +02:00
Anton-4
05645088b7 run benchmarks with input 2021-05-28 15:08:46 +02:00
Anton-4
6db9247509 setup for all benchmarks except quicksort 2021-05-26 19:51:18 +02:00
Folkert
384c1f8dcd Merge branch 'morphic-static-strings' of github.com:rtfeldman/roc into morphic-static-strings 2021-05-26 13:00:33 +02:00
Folkert
2a61c3108e start using the solutions 2021-05-25 09:08:01 +02:00
Richard Feldman
c8665fa9b2
Merge branch 'trunk' into hash-links 2021-05-24 08:25:11 -04:00
Richard Feldman
b60988d63e
Merge branch 'trunk' into morphic-lib 2021-05-24 07:18:59 -04:00
tarjei
f581b017e8 Enable writing dev backend on macOS 2021-05-22 20:56:40 +02:00