Commit graph

133 commits

Author SHA1 Message Date
Luke Boswell
3a38809360
remove breakout example 2024-05-22 13:45:34 +10: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
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121.
2024-01-16 22:36:10 -08: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
Brendan Hansknecht
787d7f85ac
switch dbg arg ordering to make it backwards compatible 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
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Richard Feldman
babeacc75a
Update some test .gitignores 2023-10-22 15:05:44 -04:00
Richard Feldman
086a2e4c14
Fix some gui tests 2023-10-22 15:02:09 -04:00
Richard Feldman
e25be01ccd
Update .gitignores 2023-10-19 22:04:14 -04:00
Anton-4
99cfd1fe92
removed editor, ast, markup crate 2023-09-11 16:40:52 +02:00
Anton-4
79ac0cab91
mark broken gui examples 2023-08-01 17:12:21 +02:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Anton-4
99954c9575
ditch confy 2023-05-29 13:23:31 +02:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-08 19:46:00 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Folkert
8546f2c52b
fix some clippy warnings in platforms 2023-03-06 21:18:30 +01:00
Folkert
bedca00850
clippy in platform 2023-03-05 21:35:49 +01:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-05 17:24:05 +01:00
Folkert
769a4c415b
update remaining cli tests 2023-03-05 16:57:51 +01:00
Anton-4
f07c126133
lock zig platform building 2023-02-27 18:01:32 +01:00
Anton-4
091e043168
removed rodio and deps 2023-02-21 15:38:11 +01:00
Anton-4
951f01eee0
better name, extra test 2023-01-30 15:54:16 +01:00
Christopher Bertels
c66bcff0a3
Use hello as app name for hello.roc example
This is to prevent a name collision with breakout.roc example located
in the same directory.
2023-01-30 14:14:48 +01:00
Richard Feldman
6bdd51502d
Merge pull request #4936 from roc-lang/dependabot/cargo/examples/gui/platform/bumpalo-3.12.0
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/platform
2023-01-21 10:58:44 -05:00
dependabot[bot]
f93e03f4e3
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:05:33 +00:00
dependabot[bot]
de34176e63
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/breakout/platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:05:33 +00:00
Brendan Hansknecht
46546f5a1e
fix other formatting 2022-12-04 18:39:58 -08:00
Brendan Hansknecht
a5efc1f179
switch to more expressive list.range 2022-12-04 16:04:17 -08:00
Folkert
d9d88328d3
update rust platform build.rs 2022-11-06 16:34:15 +01:00
Ayaz
ea24e295e3
Merge pull request #4252 from roc-lang/dependabot/cargo/examples/gui/breakout/platform/crossbeam-utils-0.8.12
Bump crossbeam-utils from 0.8.6 to 0.8.12 in /examples/gui/breakout/platform
2022-10-08 09:48:10 -05:00
dependabot[bot]
7d1cf8f6a8
Bump crossbeam-utils in /examples/gui/breakout/platform
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.6 to 0.8.12.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.6...crossbeam-utils-0.8.12)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 09:48:11 +00:00
dependabot[bot]
c78666b399
Bump regex from 1.5.4 to 1.6.0 in /examples/gui/breakout/platform
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 09:48:10 +00:00
Anton-4
c6ec3d5d30
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-10-07 16:00:32 +02:00
Ayaz Hafiz
dea7661068
Have Num.shift*By functions shift by a U8
302305020
2022-10-04 12:28:33 -05:00
Anton-4
eaacb86ad9
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-28 19:48:46 +02:00
Ayaz Hafiz
f72a1f9a9a
REmove env_logger dep 2022-09-28 09:10:27 -05:00
Anton-4
d5dbee57d9
cli_run no macro re-write 2022-09-27 20:25:28 +02:00
Anton-4
0ddc69e066
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-24 16:49:50 +02:00
Richard Feldman
b6157e76b8
Fix type mismatch in exit code 2022-09-19 21:12:48 -04:00
Jan Van Bruggen
d0f5599bd7
Categorize breakout game as a GUI 2022-09-11 22:32:15 -06:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout 2022-08-13 03:49:12 -04:00
dependabot[bot]
3b2e16216f
Bump nix from 0.20.0 to 0.20.2 in /examples/gui/platform
Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.20.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.20.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.20.0...v0.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 21:09:47 +00:00
Richard Feldman
7b2c1a7e64
s/trunk/main/g 2022-08-12 15:24:37 -04:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Ayaz Hafiz
fe215cd9b6
Update example lockfiles due to https://github.com/rtfeldman/roc/pull/3691 2022-08-10 20:24:19 -07:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Richard Feldman
7908e8c176
roc format examples 2022-07-13 23:16:09 -04:00