Commit Graph

983 Commits

Author SHA1 Message Date
Folkert
a0fe1ec453
use repr(u8) instead of repr(C) for an enum 2022-09-11 16:56:03 -04:00
Richard Feldman
42ae4282ba
give some more specific errors in CLI example 2022-09-11 16:56:03 -04:00
Richard Feldman
7adc9c972b
Reanme path_from_list to path_from_roc_path 2022-09-11 16:56:03 -04:00
Richard Feldman
13ae5c068b
Extract write_slice 2022-09-11 16:56:03 -04:00
Richard Feldman
ca730c5b52
Basic implementations of file I/O in the host 2022-09-11 16:56:02 -04:00
Richard Feldman
92b897fc13
Add File I/O CLI example 2022-09-11 16:56:02 -04:00
Richard Feldman
f39e7e6737
Add File to CLI platform 2022-09-11 16:56:02 -04:00
Richard Feldman
75af7b2c5c
Add InternalTask 2022-09-11 16:56:02 -04:00
Richard Feldman
4a14a019b6
Add new File I/O CLI effects 2022-09-11 16:56:02 -04:00
Richard Feldman
762fa75511
Add Stderr.line to cli-platform 2022-09-11 16:56:02 -04:00
Jan Van Bruggen
8bbfd68621
Add language to all fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
072a6bd002
Eliminate consecutive newlines
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3902668ce5
Add angle brackets to bare URLs
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md034
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3219178003
Ensure only one h1 per .md file
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md025
2022-09-07 23:27:18 -06:00
Jan Van Bruggen
1272503bec
Merge pull request #3943 from sandprickle/move-examples-3912
Move Platform Examples (3912)
2022-09-05 10:38:24 -06:00
Richard Feldman
15f349fc37
Link to the CLI platform docs in examples README 2022-09-03 21:11:21 -04:00
Richard Feldman
1093bdde63
Fix a broken doc link 2022-09-03 20:25:48 -04:00
Richard Feldman
1ce5d7c98c
Remove some incorrect pf. qualifications 2022-09-03 19:00:31 -04:00
Bryce Miller
67a5aedd44
Merge branch 'roc-lang:main' into move-examples-3912 2022-09-01 15:20:34 -04:00
Bryce Miller
55688e8fa2
move WebAssembly example 2022-08-31 14:20:25 -04:00
Bryce Miller
bc7d62e94c
move Zig example 2022-08-31 14:09:34 -04:00
Bryce Miller
6ccd00abf4
move C example 2022-08-31 14:05:43 -04:00
Bryce Miller
841af10f36
move Swift example 2022-08-31 13:39:24 -04:00
Bryce Miller
ec548d9143
Move Rust example 2022-08-31 13:21:53 -04:00
Brian Carroll
9e96241e3e
get static-site-gen working with surgical linker 2022-08-31 09:00:45 +01:00
Brian Carroll
0759b646e6
examples: fix static-site-gen when output dir doesn't exist yet 2022-08-31 09:00:24 +01:00
Brian Carroll
f1cb7d735b
try to use legacy linker on static-site-gen in example tests 2022-08-30 23:57:38 +01:00
Brian Carroll
63bc153025
Fix build errors 2022-08-29 23:23:38 +01:00
Brian Carroll
5d6037d888
cli_run: add test for static-site-gen example and print more to stdout 2022-08-29 22:05:35 +01:00
Brian Carroll
f2ddaa95db
Account for a compiler bug and tweak platform a bit 2022-08-28 23:29:38 +01:00
Brian Carroll
5aee798340
examples: Add a README to the static site generator 2022-08-28 21:52:04 +01:00
Brian Carroll
7d6f0b3806
examples: first draft of static site generator example 2022-08-28 14:33:03 +01:00
Brian Carroll
c1a38bc400
examples: move Html Roc files into platform dir 2022-08-28 14:26:00 +01:00
Brian Carroll
2af152dfe2
examples: create an HTML library for static site generation 2022-08-27 13:04:07 +01:00
Folkert
5451c5461e
use timer in the benchmark platform 2022-08-26 18:28:40 +02:00
Folkert de Vries
286e27547e
Merge pull request #3770 from roc-lang/dependabot/cargo/examples/breakout/platform/nix-0.20.2
Bump nix from 0.20.0 to 0.20.2 in /examples/breakout/platform
2022-08-22 22:54:12 +02:00
Folkert
9bebc9cb69
swap shift arguments in Bytes.Encode 2022-08-21 16:43:10 +02:00
kilianv
45accb8568
Swap operators in examples which use bit shifting 2022-08-21 14:16:01 +02:00
Richard Feldman
94750c7cfa
Lower minimum Ruby version in ruby-interop example
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-08-16 14:02:31 -04:00
Ross Smyth
c42b8ad91b
Add safety comment that was missed 2022-08-13 15:41:03 -04:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout 2022-08-13 03:49:12 -04:00
dependabot[bot]
c83c57b7f5
Bump nix from 0.20.0 to 0.20.2 in /examples/breakout/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 23:53:10 +00:00
Richard Feldman
503dd08230
Merge pull request #3767 from roc-lang/dependabot/cargo/examples/gui/platform/nix-0.20.2
Bump nix from 0.20.0 to 0.20.2 in /examples/gui/platform
2022-08-12 19:52:50 -04:00
Richard Feldman
32f63f46a6
Merge pull request #3739 from roc-lang/ruby-interop
Ruby interop example
2022-08-12 17:17:27 -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
Richard Feldman
37329860d1
Re-enable and consolidate some CLI tests 2022-08-11 17:22:02 -04:00
Richard Feldman
56ae0f7ee1
Add initial examples/ruby-interop 2022-08-11 17:15:07 -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