Commit graph

1882 commits

Author SHA1 Message Date
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
Agus Zubiaga
eb8ef6241e
Merge branch 'main' into inline-imports 2024-05-01 10:25:17 -03:00
Anton-4
c303be7553
Merge branch 'main' into rust-1-76-0-upgrade 2024-04-30 19:36:01 +02: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
681df41fd3
Fix some missing Task imports in examples 2024-04-28 11:20:00 -04:00
Richard Feldman
82660f1cae
Fix some Task imports in examples 2024-04-28 08:36:48 -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
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
a832de79d7
Remove unused import in virtual-dom Html.Internal.Client 2024-04-22 19:56:30 -03:00
Anton-4
d16409552c
rust 1.77 upgrade 2024-04-16 15:49:28 +02:00
Anton-4
1a5e065055
Merge branch 'main' into rust-1-76-0-upgrade 2024-04-16 13:33:27 +02:00
Anton-4
a7b843743d
upgrade to rust 1.76.0 2024-04-15 19:20:07 +02:00
Anton-4
4d9202ec6e
upgrade to rust 1.75.0 2024-04-15 16:29:23 +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
Anton-4
46daccef62
rust 1.73.0 -> 1.74.1 2024-04-12 17:16:09 +02:00
Anton-4
e6e708360c
1.72.1->1.73.0 2024-04-06 15:38:14 +02:00
Anton-4
9bf57d6337
Merge pull request #6530 from roc-lang/dependabot/npm_and_yarn/examples/nodejs-interop/native-c-api/ip-2.0.1
Bump ip from 2.0.0 to 2.0.1 in /examples/nodejs-interop/native-c-api
2024-02-28 13:14:25 +01:00
Richard Feldman
2c64718ef6
roc format 2024-02-27 12:05:11 -05:00
Anton-4
a744536575
fix nodejs example
The naming mechanism has changed.
Instead of adding a test for this example now I'm going to make a good-first-issue to move this to the examples repo and add a test there. 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-24 13:39:55 +01:00
dependabot[bot]
3200d042cf
Bump ip from 2.0.0 to 2.0.1 in /examples/nodejs-interop/native-c-api
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 22:40:03 +00: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
Anton-4
98a9f52d97
Merge pull request #6392 from michaelkpfeifer/support-embedding-parts-of-files-with-static-site-gen-platform
Support embedding parts of files with the static site gen platform
2024-01-31 23:01:45 +01:00
Anton-4
0d26203acd
improve errors, support nested snippets 2024-01-31 18:26:21 +01:00
Richard Feldman
3e27e18566
Merge remote-tracking branch 'origin/main' into remove-nat 2024-01-29 07:23:58 -05:00
Michael Pfeifer
b40803da9b
Remove unnecessary empty line 2024-01-29 00:05:06 +01:00
Michael Pfeifer
21db0ae543
Merge branch 'main' into support-embedding-parts-of-files-with-static-site-gen-platform 2024-01-28 22:54:38 +01:00
Richard Feldman
33152819f7
Upgrade roc-parser in examples 2024-01-26 19:57:00 -05:00
Richard Feldman
aa720af599
Update parse-movies-csv example to basic-cli 0.8.1 2024-01-26 16:28:23 -05:00
Richard Feldman
fb84c9487d
Remove Num.Natural, Num.toNat, and Num.toNatChecked 2024-01-26 16:23:20 -05:00
Richard Feldman
17ba3eddb4
Remove Nat from examples 2024-01-26 16:06:08 -05:00
Richard Feldman
6f354b9678
Update more examples to stop using Nat 2024-01-26 16:06:07 -05:00
Richard Feldman
47561266d4
Update False interpreter to not use Nat 2024-01-26 16:06:07 -05:00
Richard Feldman
69f6d8e99a
Update more examples to not use Nat 2024-01-26 16:06:05 -05:00
Richard Feldman
09574203ce
Update to basic-cli 0.8.1 2024-01-26 16:02:30 -05:00
Richard Feldman
e7dde9bffc
Update Html static site gen 2024-01-26 16:00:33 -05:00
On vacation
4ee3431428
Merge branch 'main' into rust-1-72-upgrade 2024-01-26 13:39:34 +01:00
Luke Boswell
07ad6bb1f7
replace parser example with URL package 2024-01-23 13:06:25 +11:00
Richard Feldman
2970fc4384
Merge remote-tracking branch 'origin/main' into str-unicode 2024-01-21 12:30:16 -05:00
Michael Pfeifer
f08925736b
Merge branch 'main' into support-embedding-parts-of-files-with-static-site-gen-platform 2024-01-21 15:44:11 +01:00
Richard Feldman
fb82c09ac2
Fix Parser example 2024-01-17 21:53:21 -05:00