Commit Graph

127 Commits

Author SHA1 Message Date
Richard Feldman
a4e4046739
Exclude examples/ in workspace Cargo.toml 2022-05-24 12:04:31 -04:00
Richard Feldman
bd1f2aaf0b
Add docs_cli crate 2022-05-08 22:03:15 -04:00
Richard Feldman
afd232281c
Add some basic bindgen stuff 2022-05-06 15:08:05 -04:00
Brian Carroll
f9aeed8cc8 Move wasi-libc-sys into the workspace 2022-05-03 19:23:16 +01:00
Brian Carroll
dd1d49db75 Build WASI libc using Zig, instead of using a checked-in binary 2022-05-03 08:00:58 +01:00
Ayaz Hafiz
9964f86a3d
Factor bespoke debug variables into debug_flags crate 2022-04-29 17:45:55 -04:00
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Anton-4
0ca66cc41b
Merge branch 'trunk' of github.com:rtfeldman/roc into new-syntax-highlight 2022-03-07 20:01:38 +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
Anton-4
0fee3c7b23 exclude roc_std to fix windows link error 2022-03-02 07:56:56 +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
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
Anton-4
440a3cd15b
started moving tokenizer and grammar for syntax_highlighting 2022-02-11 13:54:10 +01: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
f098c6cb99 repl: initial working version with new crate structure 2022-01-30 09:12:29 +00:00
Folkert
afd11e1cb1 move target -> roc_target 2022-01-26 23:33:29 +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
fdeafe4bab Make assert output more understandable 2021-11-30 17:48:24 -08:00
Callum Dunster
f972098e70 Move reporting module into root. 2021-11-16 19:58:21 +01: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
cbc0b3c0cf Pull cli_utils out of cli to stop them from always building 2021-11-07 18:33:52 -08:00
Brendan Hansknecht
c46b56bec8 Exclude test only dependencies from regular builds 2021-11-07 18:00:49 -08:00
Brendan Hansknecht
11ece557ed Make gen_dev tests a single executable 2021-11-05 21:04:41 -07:00
Folkert
b6373c4efb move files over 2021-11-02 21:39:16 +01:00
Anton-4
f9e2e3469b separated markup and util crates, no more errors 2021-09-24 20:08:49 +02:00
Anton-4
59831f2e85 more refactoring for seperate ast crate 2021-09-22 21:02:43 +02:00
Brendan Hansknecht
7408c152b7 Merge branch 'trunk' into linker 2021-09-08 15:52:51 -07:00
Folkert
f8809a3eef rename wasm -> wasm32 2021-09-05 14:08:14 +02:00
Brendan Hansknecht
c6217ebfdb Roc linker library base setup 2021-08-16 20:06:44 -07:00
Anton-4
e572762a63 Merge branch 'trunk' of github.com:rtfeldman/roc into no-unnecessary-benches 2021-08-04 11:57:43 +02:00
Richard Feldman
00eefa1947 Add IdentStr 2021-08-02 23:54:10 -04:00
Anton-4
ca5410402b started rewriting benchmark bash script in rust 2021-07-23 19:45:58 +02:00
Anton-4
6e18e149d9 minor cleanup 2021-07-20 14:29:30 +02:00
Anton-4
a3f7c6accf cleaned up benchmark script, now doing 200 runs per bench repeated 3 times to confirm 2021-07-20 14:10:35 +02:00
Anton-4
5e4fc1dc2f now executing benchmarks outside earthly 2021-06-09 18:52:34 +02:00
Anton-4
afa6e58b54 Put nightly benches in separate crate so they don't have to be commented out. 2021-06-08 20:15:13 +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
Richard Feldman
b05342c678 Split out an optional "llvm" feature
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Anton-4
d1948d99d0 Merge branch 'trunk' of github.com:rtfeldman/roc into benchmarks 2021-06-02 10:56:30 +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
Folkert
3636e18a18 centralize inkwell imports 2021-05-29 21:46:33 +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
rvcas
dd52292e21 fix(editor): leave workspace Cargo.toml alone and move git ref to editor toml 2021-03-06 00:19:06 -05: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
Folkert
3e3fe4fc7a move test files 2021-03-01 14:59:47 +01:00
Brendan Hansknecht
7a6c2cb2bc Switch to thin lto for faster compilation
Also, makes the bench and release profile match eachother so that
tests built in release mode don't need to recompile everything compared
to regular release builds.
2021-02-20 11:06:46 -08:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00