Commit graph

57 commits

Author SHA1 Message Date
Agus Zubiaga
2da7ea394b
Add --main flag to specify app/package to resolve deps from 2024-06-07 17:09:44 -03:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Anton-4
f620508a37
misc improvements 2024-03-04 17:10:59 +01:00
Anton-4
00d1ac0aef
removed duplicate code 2024-02-16 15:13:40 +01:00
Michael Pfeifer
390808eb12
Prevent roc format from reading $PWD when --stdin or --stdout options given 2024-01-24 23:48:54 +01:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74 2023-12-02 20:09:06 -06:00
Becker A
714404b081
Fixed roc format --stdin --stdout to format output
fixes #6088 

Signed-off-by: Becker A. <awqatty.b@gmail.com>
2023-11-26 01:14:46 -07:00
Folkert
eda9681982
final fixes 2023-11-18 23:10:21 +01:00
Brendan Hansknecht
2a385839fe
deal with system target 2023-11-06 09:31:22 -08:00
Brendan Hansknecht
6006891889
correct path and add TODO 2023-11-06 09:31:22 -08:00
Brendan Hansknecht
8e86640bd7
add preprocess host cli option 2023-11-06 09:31:22 -08:00
Richard Feldman
0eefbac8e3
Merge remote-tracking branch 'origin/main' into output-flag 2023-10-22 17:50:02 -04:00
Richard Feldman
c8483e30e4
Revert "Use .extend"
This reverts commit 8f68ff5d70.
2023-10-22 15:16:14 -04:00
Richard Feldman
8f68ff5d70
Use .extend 2023-10-22 14:42:50 -04:00
Richard Feldman
eebec8a378
Add --output to build, default to app filename 2023-10-19 20:42:28 -04:00
Richard Feldman
a96752a65a
Add --output CLI flag for roc docs 2023-10-19 17:21:27 -04:00
Richard Feldman
e442f18e68
Support roc format to stdout/from stdin 2023-10-18 23:02:38 -04:00
Anton-4
99cfd1fe92
removed editor, ast, markup crate 2023-09-11 16:40:52 +02:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Richard Feldman
1d5c5b25ec
Merge remote-tracking branch 'origin/main' into linux64 2023-07-11 11:33:31 -04:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Richard Feldman
aeca4b328e
Make a single source of truth for target strings 2023-06-20 07:48:56 -04:00
Folkert
8833096a07
clippy 2023-05-31 23:57:37 +02:00
David Smith
1abcfb1f94
Improve error message for subcommand typo to include command suggestion 2023-05-26 10:00:30 -04:00
David Smith
0f943c3e64
Code changes for clap 4 upgrade 2023-05-15 10:40:37 -04:00
Folkert
66be08d073
allow configure of whether roc_alloc is generated 2023-05-01 18:41:47 +02:00
Folkert
d13ca51095
add --dev flag to glue 2023-05-01 18:39:11 +02:00
Richard Feldman
194e74ec38
Fix typo 2023-03-24 20:53:22 -04:00
Brendan Hansknecht
abdc84d927
create conversion code from Types to the roc version of Types 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files 2023-03-05 12:33:41 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file 2022-12-24 22:32:13 -05:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME 2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere 2022-11-20 19:53:48 -05:00
Luke Boswell
cec67721e6
merge upstream/main 2022-11-06 09:27:46 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation 2022-11-03 20:00:06 +11:00
Richard Feldman
220c362671
Merge remote-tracking branch 'origin/main' into repl 2022-10-31 20:49:28 -04:00
Anton-4
ae1a9e4dd6
Merge pull request #4403 from lukewilliamboswell/rust-docs
adding crates/README.md for rust docs
2022-10-29 08:30:20 +02:00
Richard Feldman
a6c1667d37
Reorganize repl modules 2022-10-27 18:47:31 -04:00
Anton-4
35f248d718
update doc comment
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-26 13:21:27 +02:00
Luke Boswell
04903295f8
adding crates/README.md for rust docs 2022-10-26 14:41:25 +11:00
Brendan Hansknecht
e25475e7a1
dummy -> stub. Also minor help message update. 2022-10-24 18:52:11 -07:00
Brendan Hansknecht
d6bdd2aec7
create a roc sub command for generating a dummy lib 2022-10-24 18:47:11 -07:00
Ayaz Hafiz
963911814f
Print traces to files with ROC_LOGTO 2022-08-23 15:37:33 -05:00
Ayaz Hafiz
848facb386
Add roc_tracing crate and initial traces in mono 2022-08-23 12:47:41 -05:00
Richard Feldman
a8964f87aa
Add roc dev command to CLI 2022-08-21 18:07:59 -04:00
Folkert
1f28f15773
clippy 2022-07-26 00:11:38 +02:00
Richard Feldman
4abad75d67
Revert "Don't use deprecated Arg::value_of_t"
This reverts commit 20275f480b.
2022-07-24 13:58:08 -04:00
Richard Feldman
946b44cfd0
Fix some type mismatches 2022-07-24 11:22:58 -04:00
Richard Feldman
4bc961a453
Have the roc CLI use the new glue 2022-07-24 10:41:05 -04:00