Commit graph

531 commits

Author SHA1 Message Date
Agus Zubiaga
e3b600c282
New package header syntax
Implements the new package header syntax as discussed in Zulip [1].

package [Csv] {
    parser: "../parser/main.roc"
}

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] 418444862
2024-05-01 10:49:03 -03:00
Agus Zubiaga
8dedd9f03c
New app header syntax
Implements the new app header syntax as discussed in Zulip [1].

    app [main] {
	cli: platform "../platform/main.roc",
	json: "../json/main.roc"
    }

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] 418444862
2024-05-01 10:49:01 -03:00
Agus Zubiaga
eb8ef6241e
Merge branch 'main' into inline-imports 2024-05-01 10:25:17 -03:00
Richard Feldman
7fcf13d14b
Update some tests to use ! 2024-04-28 11:26:37 -04:00
Anton-4
3742ef5f42
update basic-cli links to 0.10 2024-04-28 12:45:31 +02:00
Agus Zubiaga
a8a829aadd
Merge branch 'main' into inline-imports 2024-04-28 00:11:29 -03:00
Richard Feldman
052862e0c6
Fix some unused warnings 2024-04-26 22:20:23 -04:00
Agus Zubiaga
6fffaa6dda
Restore disabled roc_cli cli_file_check test 2024-04-23 19:00:10 -03:00
Agus Zubiaga
f69bc2e46f
Merge branch 'main' into inline-imports 2024-04-23 18:57:20 -03:00
Anton-4
29e59dfec9
upgrade to basic-cli 0.9.1 2024-04-23 19:06:33 +02:00
Agus Zubiaga
7ebfc6d06d
Support both inline and header imports
Load will now convert header imports to inline import defs, so that
we can support both temporarily.
2024-04-20 19:04:09 -03:00
Agus Zubiaga
3217e5a3f0
Allow dots in import module names
We found some issues with the private submodules part of the proposal [1],
and we decided to keep module directories for now.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit#heading=h.x84bh32l37em
2024-04-20 12:33:02 -03:00
Anton-4
e4e1d7116c
update to basic-cli 0.9.0 2024-04-13 12:28:16 +02:00
Jonathan Schear
72916dfdf8
Add --verbose flag, move per-module test results behind it 2024-03-13 16:59:06 -04:00
Anton-4
76c47c5d6f
stylistic improvements 2024-03-09 20:47:19 +01:00
Jonathan Schear
71b97572ae
Add test for transitive expects 2024-03-08 14:56:36 -05:00
Jonathan Schear
06daaa06ae
Add transitive expects test roc files 2024-03-08 14:56:36 -05:00
Jonathan Schear
0b6cf5cbcc
Remove redundant cli_testing_examples folder 2024-03-05 18:37:03 -05:00
Jonathan Schear
813b0010b7
Move cli_testing_examples under crates/cli/tests 2024-03-05 12:21:29 -05:00
Anton-4
b5f68bc020
Merge pull request #6525 from roc-lang/fix_text_contrast
less colors and more contrast in terminal
2024-02-20 15:46:13 +01:00
Anton-4
7f947ad00b
removed dbg 2024-02-16 16:34:24 +01:00
Anton-4
f66711d53e
re-use strip_colors 2024-02-16 16:32:46 +01:00
Anton-4
00d1ac0aef
removed duplicate code 2024-02-16 15:13:40 +01:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat 2024-02-11 12:26:36 -05:00
Anton-4
b2b55876d3
Merge pull request #6488 from roc-lang/forgot-old-interpolation-syntax
update to new interpolation syntax
2024-02-04 11:03:34 +01:00
Anton-4
930e298706
Merge pull request #6492 from roc-lang/basic-cli-8-1
update everything to basic-cli 0.8.1
2024-02-03 04:32:16 +01:00
Anton-4
76005451cc
update to basic-cli 0.8.1 2024-02-02 20:01:20 +01:00
Anton-4
3c7a834da1
update to new interpolation syntax 2024-02-02 13:39:10 +01:00
Folkert
41ad915c35
make an inline expect triggered by a top-level expect work 2024-02-01 13:08:01 +01:00
Richard Feldman
09574203ce
Update to basic-cli 0.8.1 2024-01-26 16:02:30 -05:00
Luke Boswell
ff6a31673a
fix CI tests 2024-01-23 14:28:40 +11:00
William Barbosa
f7fac0daba Add a test for trimmed paths 2024-01-18 08:15:02 +01:00
William Barbosa
ad3673bfe9 Improve filename visibility in error messages 2024-01-18 08:15:02 +01:00
Anton-4
6a6345eb01
Merge branch 'main' of github.com:roc-lang/roc into fix_benchmarks 2024-01-13 19:47:20 +01:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Anton-4
861e50a5f4
fmt, test fix 2023-12-27 16:16:09 +01:00
Anton-4
3210e87815
fixed filenames 2023-12-27 15:58:03 +01:00
Anton-4
52133e2d21
keep ingested_file_bytes result the same on import changes 2023-12-23 18:44:36 +01:00
Anton-4
cf96010543
update to basic-cli 0.7.1 2023-12-23 16:54:59 +01:00
Brendan Hansknecht
e8d2deca90
fix off by one in roc_dbg 2023-12-03 08:22:04 -08:00
Brendan Hansknecht
f4fceb232c
fix test after rebase on main 2023-12-02 21:21:10 -08:00
Brendan Hansknecht
787d7f85ac
switch dbg arg ordering to make it backwards compatible 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
546e0778c4
update dbg cli test 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
6134ce0a3b
update inspect_logging test case 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
13d2238536
update roc_dbg in platforms 2023-12-02 21:18:31 -08:00
Brendan Hansknecht
5dd0bdebc9
support seamless slice in expects 2023-12-02 15:57:53 -08:00
Anton-4
cc8966e37d
Update ingested_file_bytes test
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-12-01 12:49:31 +01:00
Anton-4
a050933955
use latest basic-cli 2023-12-01 12:33:09 +01:00
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00