Commit graph

256 commits

Author SHA1 Message Date
Luke Boswell
e4d0115ca4
Merge remote-tracking branch 'remote/main' into rebuild-platform 2024-11-11 11:55:06 +11:00
Agus Zubiaga
89a918cebe
Fix unifying pure with flex vars 2024-11-07 18:54:19 -03:00
Agus Zubiaga
75856ae804
Support ! in symbols provided to host 2024-11-07 18:54:16 -03:00
Agus Zubiaga
460fa693fd
Desugar stmt expr before checking whether it's suffixed 2024-11-07 18:54:15 -03:00
Agus Zubiaga
01c94050c8
Detect fx mode based on hosted module 2024-11-07 18:54:15 -03:00
Agus Zubiaga
7a7650c11d
Parse lowercase idents ending in ! 2024-11-07 18:54:14 -03:00
Agus Zubiaga
bc3ab0186a
Generate effectful hosted functions 2024-11-07 18:54:13 -03:00
Sam Mohr
9263986433
Fix discordant u8 and u64 types 2024-08-29 19:04:06 -07:00
Sam Mohr
74f9b99388
Use HashMap to store false-interpreter files 2024-08-29 18:42:58 -07:00
Anton-4
7938e4bdc8
basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
Anton-4
ca7d1cb3fa
Revert "Avoid defining unsized platform Tasks"
This reverts commit d3732b4440.
2024-08-28 16:37:01 +02:00
Sam Mohr
d3732b4440
Avoid defining unsized platform Tasks 2024-08-26 15:04:31 -07:00
Sam Mohr
79cfcb072b
Pluralize PlatformTasks module 2024-08-26 00:05:09 -07:00
Sam Mohr
9511334167
Merge branch 'main' into builtin-task 2024-08-19 23:42:47 -07:00
Sam Mohr
12df3a04de
Merge attempt 2024-08-19 23:34:05 -07:00
Sam Mohr
f9008c3af0
Fix broken CLI tests 2024-08-16 23:37:31 -07:00
Sam Mohr
50f6e11423
Deprecate backpassing to prepare for eventual removal 2024-08-16 22:36:04 -07:00
Luke Boswell
fa4016615c
move tui example into cli tests 2024-08-16 16:23:04 +10:00
Luke Boswell
8ad81986b4
move effects cli test 2024-08-16 16:19:05 +10:00
Luke Boswell
0256c4e8f5
move false interpreter into cli tests 2024-08-16 14:50:55 +10:00
Luke Boswell
64cc816e51
WIP all the roc_cli tests passing, woo 2024-08-15 18:14:48 +10:00
Sam Mohr
0733863a81
Prefer false-interpreter for ? desugaring example 2024-08-14 23:23:45 -07:00
Luke Boswell
c6d2cfb7bc
replace with local paths for basic-cli 2024-07-19 20:50:07 +10:00
Sam Mohr
700c7ae9aa
Add Task as a built-in module/type 2024-06-25 00:03:56 -07:00
Luke Boswell
64dba6332d
move argsBROKEN.roc test 2024-05-22 13:35:43 +10:00
Luke Boswell
7cbee42c2c
move ingested-file-bytes.roc test 2024-05-22 13:34:41 +10:00
Luke Boswell
b3f8c4dfd9
move ingested-file-bytes-no-ann.roc test 2024-05-22 13:32:49 +10:00
Luke Boswell
e9c50de4b4
move http-get test 2024-05-22 13:30:47 +10:00
Luke Boswell
3d4bd68580
move file test 2024-05-22 13:29:46 +10:00
Luke Boswell
bb6fb26525
move form test 2024-05-22 13:28:44 +10:00
Luke Boswell
7cff0575b9
move env test 2024-05-22 13:25:54 +10:00
Luke Boswell
eb3ff714cd
move echo test 2024-05-22 13:24:09 +10:00
Luke Boswell
0b9c2b4f42
move countdown test 2024-05-22 13:22:58 +10:00
Luke Boswell
6d90a4c3c1
move ingested-file test 2024-05-22 13:21:15 +10:00
Agus Zubiaga
3c52edd0a0
Add ingested file no ann test 2024-05-05 17:00:05 -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
057a18573a
New module header
Implements the new `module` header syntax as described in "module and package changes" [1]:

```
module [Request, Response, req]
```

The old syntax should still work fine, and is automatically upgraded to the new one
when running `roc format`.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
2024-05-01 10:39:12 -03:00
Anton-4
9d28e70cdc
all fixed 2024-04-28 18:27:59 +02:00
Anton-4
6c97407033
fix ingested file bytes example 2024-04-28 18:13:42 +02:00
Anton-4
b044f588c0
fix some cli run check tests 2024-04-28 18:08:34 +02:00
Richard Feldman
87d19c664b
Update more examples to use ! 2024-04-28 11:35:25 -04:00
Richard Feldman
1c83abcb03
Remove type annotations on CLI examples 2024-04-28 08:35:40 -04:00
Anton-4
3742ef5f42
update basic-cli links to 0.10 2024-04-28 12:45:31 +02:00
Anton-4
29e59dfec9
upgrade to basic-cli 0.9.1 2024-04-23 19:06:33 +02:00
Anton-4
8f71844c3e
fix example, update mono 2024-04-13 14:26:17 +02:00
Anton-4
e4e1d7116c
update to basic-cli 0.9.0 2024-04-13 12:28:16 +02: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
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