Commit Graph

714 Commits

Author SHA1 Message Date
Folkert de Vries
af15055c95
Merge pull request #2641 from rtfeldman/DecRepl
Display Dec in REPL
2022-03-07 16:17:06 +01:00
Derek Gustafson
f2de6baa36
Add functionality to turn RocDecs into strings. 2022-03-05 17:28:12 -05:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Derek Gustafson
dc92de7781
Add plumbing for displaying RocDec in the repl. 2022-03-04 17:32:09 -05:00
Anton-4
37704323b1
basic highlighting flow using MarkupNodes 2022-03-04 20:19:05 +01: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
bddab60e6b
Merge branch 'trunk' of github.com:rtfeldman/roc into new-syntax-highlight 2022-03-01 11:36:59 +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
rvcas
97959c8a95
Merge branch 'trunk' into update_zig_09 2022-02-12 22:51:12 -05: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
rvcas
0124e4d4b1
Merge branch 'trunk' into update_zig_09 2022-02-09 18:42:24 -05: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
rvcas
98045abc4f Merge branch 'trunk' into update_zig_09 2021-12-29 14:49:27 -05: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
rvcas
33da8137cd Merge branch 'trunk' into update_zig_09 2021-12-26 19:48:24 -05:00
Joshua Warner
a0cf5d0e70 Add simple benchmark for the parser: parse false-interpreter 2021-12-24 11:54:42 -08:00
rvcas
88d8dbc5d8 fix(inkwell): bump to llvm13 2021-12-23 16:41:37 -05: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
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
Chadtech
12c0067348 Created scope and idents for module docs, but they appear to be empty when the doc links function tries to use them 2021-05-22 14:06:56 -04:00
Folkert
b50bbb89da Merge remote-tracking branch 'origin/trunk' into morphic-lib 2021-05-20 21:20:46 +02:00
Anton-4
e2bc9566ba upgrade to wgpu 8.1, removed old editor benchmarks 2021-05-19 17:32:07 +02:00
Anton-4
8d0d1a0758 put cli helpers in cli_utils crate, added bench_utils.rs for sharing functions between benchmarks, added iai benchmarks 2021-05-18 18:48:59 +02:00
Anton-4
9a50ba37ce criterion benchmarks for examples/benchmarks, moved cli helpers 2021-05-17 17:15:10 +02:00
Folkert
f7fe811f0c alias analysis here we come! 2021-05-07 17:26:49 +02:00
Basile Henry
5e0a4f04bd Use rustyline fork for continuation prompt 2021-05-03 14:19:28 +02:00
Folkert
b4f6b1a0e4 Merge remote-tracking branch 'origin/trunk' into inkwell-llvm-11-bump 2021-04-22 12:43:41 +02:00
Folkert
3cc4e5fea6 bump inkwell version 2021-04-22 12:43:26 +02:00
Folkert
cdf5b89f9a using hashbrown + bumpalo in practice 2021-04-18 15:35:43 +02:00
Chadtech
239c203c4f Resolve conflicts 2021-04-15 02:22:12 -04:00
Chadtech
8036220b19 Remove handlebars templating and instead use new html_node() function some string replacement 2021-04-15 02:19:20 -04:00
Richard Feldman
f62b8f5539 cargo update 2021-04-13 08:45:50 -04:00
Folkert
bffb9ab6fe initial solver for the editor's type constraints 2021-04-12 21:26:20 +02:00
rvcas
36e6739212 feat(editor): depend on roc_solve 2021-04-10 12:58:02 -04:00
Anton-4
24775564fa
Merge branch 'trunk' into simpler_caret 2021-03-23 12:27:38 +01:00
Anton-4
6ab71f9ab9 new caret structure progress, renamed BigSelectedText to BigTextArea 2021-03-22 20:13:49 +01:00
Chadtech
807250f3e3 Moved docs/src/main.rs to docs/src/lib.rs and imported it into the repl. Commented out doc code to avoid it deleting my entire roc project (which happened) 2021-03-21 22:37:39 -04:00
Richard Feldman
deb48d48f8 Use zig env to find zig compiler_rt 2021-03-14 22:31:32 -04:00
Eric Henry
3e4eb8d839 Clean up file and repl support for Num.maxI128 2021-03-12 17:48:55 -05:00
Anton-4
72de6c3d9c Merge branch 'trunk' of github.com:rtfeldman/roc into update_deps 2021-03-08 13:09:07 +01:00
Anton-4
8aa0006e89 done updating editor dependencies to latest version 2021-03-08 12:25:55 +01:00
rvcas
fdbb32d88a Merge branch 'trunk' into config_persistance 2021-03-06 18:16:55 -05:00
Anton-4
e11df7c49a Updated Cargo.lock using 2021-03-06 12:14:55 +01:00
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +01:00
rvcas
be81cc0371 feat(editor): use confy master branch until 0.5.0 is tagged and released 2021-03-06 00:13:46 -05:00
rvcas
386c72c93d feat(editor): add confy and serde to persistent and load config 2021-03-05 10:41:19 -05:00
Folkert
3e3fe4fc7a move test files 2021-03-01 14:59:47 +01:00
Anton-4
1e255f0c69 Merge branch 'trunk' of github.com:rtfeldman/roc into easier_colors 2021-02-26 14:47:00 +01:00
Folkert
e16f6f8c49 fix compile errors 2021-02-24 23:36:42 +01:00
Anton-4
f8944468a4 hsb colors, themes, settings 2021-02-23 19:43:50 +01:00
Folkert
7f14f27ee4 better formatting 2021-02-21 00:14:15 +01:00
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Richard Feldman
44fd0351be
Merge pull request #946 from rtfeldman/optimize-rc
Fuse RC operations
2021-01-30 21:43:10 -05:00
Anton-4
51bf8a42b5 trying fork of clipboard crate 2021-01-30 16:23:54 +01:00
Anton-4
3ed7aeec92 clipboard dependency fix 2021-01-30 15:06:29 +01:00
Folkert
badce47838 rename so names are unique in benchmarks 2021-01-28 15:33:11 +01:00
Anton-4
93e9353e5e Merge branch 'trunk' of /rtfeldman/roc into copy_paste 2021-01-27 11:01:43 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Anton-4
8c1e4b63e2 Progress on implementing copy and paste 2021-01-23 19:28:23 +01:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Anton-4
8e94ae41fc added read file and text buffer benchmarks 2021-01-19 17:41:23 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Anton-4
55cd6a4976 added insert_char benchmark 2021-01-16 19:33:23 +01:00
Anton-4
bdf48d478f progress integrating text rope 2021-01-11 19:46:15 +01:00
Anton-4
1acbe42962 implemented selection test DSL, added caret tests for move right 2021-01-02 19:33:26 +01:00
Anton-4
862a85698c merge, fmt, clippy 2020-12-29 20:42:58 +01:00
Anton-4
8c55f4b172 use snafu for errors, pretty backtraces, added backtrace editor idea 2020-12-26 19:24:09 +01:00
Anton-4
7a70c95bb4 rewrite to support multi line selection(unfinished) 2020-12-25 19:46:31 +01:00
Folkert
f5337d5bbf add ven_graph to the editor 2020-12-21 13:55:40 +01:00
Anton-4
8bf426b6b9 don't recompile shaders unnecessarily 2020-12-15 15:00:24 +01:00
Folkert
1fe0f5d780 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-05 20:58:27 +01:00
Folkert
66748d3a50 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-04 20:45:30 +01:00
Anton-4
6af26c9f75 editor: draw multiple rectangles 2020-12-04 20:05:29 +01:00
Anton-4
c0fdc09ec7 Merge branch 'trunk' of rtfeldman/roc into editor_refactor 2020-12-04 11:28:30 +01:00
Chadtech
1326219415 File module with read, fmt, and write functionality for the editor 2020-12-04 00:14:32 -05:00
Anton-4
1738141111 editor refactoring 2020-12-02 16:43:54 +01:00
Anton-4
ea846b5842 Merge branch 'trunk' of ssh://github.com/rtfeldman/roc into repl_history 2020-11-27 11:45:20 +01:00
Anton-4
e3f64bdb61 repl keep command history 2020-11-27 11:45:11 +01:00
Brendan Hansknecht
902bbef60a Add storing variables in the stack 2020-11-22 12:48:09 -08:00
Brendan Hansknecht
c9ea15b0a5 Merge branch 'trunk' into dev-backend 2020-11-21 17:18:26 -08:00
Richard Feldman
0ef6a2676d
Merge pull request #716 from rtfeldman/repl_arrows
Using arrows in REPL moves cursor
2020-11-21 14:59:46 -05:00
Richard Feldman
3803d70496
Merge branch 'trunk' into render-big-rectangle 2020-11-21 12:48:02 -05:00
Anton-4
da8deaa2f3 Using arrows in REPL moves cursor 2020-11-21 17:50:38 +01:00
Brendan Hansknecht
0cee2cd96f Merge remote-tracking branch 'origin' into dev-backend 2020-11-18 23:54:31 -08:00
Anton-4
149bf60c81 Minor refactoring for readability 2020-11-18 19:26:59 +01:00
Folkert
8528e5affb upgrade inkwell 2020-11-17 01:58:30 +01:00
Brendan Hansknecht
86c3c0a409 Add base structure for dev compiler backend
Currently we only generate a single static function, but it is probably
loaded and run with jit. This is the base to start generating proper
code.
2020-11-14 18:43:02 -08:00
Folkert
cf80e2852f add test for transitive alias import 2020-11-11 01:20:30 +01:00
Richard Feldman
27d17f6e2e
Merge branch 'trunk' into fix/docs-tests 2020-11-05 23:35:41 -05:00
Bob Shelline
dda634cf0a Use buffers for vertex data 2020-11-04 19:47:41 -07:00
Folkert
c3090cf9d7 attempt to wrap closure call result in RocCallResult 2020-11-05 00:23:53 +01:00