Commit Graph

117 Commits

Author SHA1 Message Date
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
Anton-4
f588590b42 disabled changes only necessary for benchmarks 2021-01-20 11:47:32 +01:00
Anton-4
55cd6a4976 added insert_char benchmark 2021-01-16 19:33:23 +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
Jared Ramirez
d82d6b6fe9 Convert builtins to C 2020-10-24 12:22:51 -07:00
Folkert
95dffad073 WIP 2020-09-30 15:01:24 +02:00
Pablo Hirafuji
590a27aeab Generate docs from hardcoded structure 2020-09-13 23:35:28 -03:00
Richard Feldman
9e0cf4cd35 Restore CLI 2020-08-02 22:04:31 -04:00
Richard Feldman
d533f6234c Merge remote-tracking branch 'origin/arena_pool' into crossbeam 2020-08-02 09:36:47 -04:00
Richard Feldman
b91359e4c7 Initial pass at arena_pool 2020-08-01 15:42:22 -04:00
Richard Feldman
1c49e116b3 wip 2020-07-30 00:59:03 -04:00