Ayaz Hafiz
98b6fe0f7f
Add command-line arguments for platform example
2022-09-12 12:25:03 -04:00
Ayaz Hafiz
f8293c7785
Rename input_paths to arguments
2022-09-12 12:25:03 -04:00
Ayaz Hafiz
c1b7859dbb
Update known type errors test
2022-09-12 12:23:28 -04:00
Brian Carroll
6e64bfc513
Merge pull request #3961 from roc-lang/markdown
...
Static site with Markdown
2022-09-12 13:45:28 +01:00
dependabot[bot]
35b2e9c80f
Bump clap from 3.2.18 to 3.2.20
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.18 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.20 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 10:33:19 +00:00
dependabot[bot]
d1c406812f
Bump pretty_assertions from 1.2.1 to 1.3.0
...
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases )
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: pretty_assertions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 05:28:00 +00:00
Jan Van Bruggen
e3c9bf46db
[WIP] How should we test the newly-crated examples?
2022-09-11 22:32:15 -06:00
Jan Van Bruggen
a9a65fcf4b
Recategorize interactive apps as CLIs
2022-09-11 22:32:15 -06:00
Jan Van Bruggen
527f39b8f2
Move Roc CLI testing examples to crates/
2022-09-11 22:32:15 -06:00
Jan Van Bruggen
59abe4f3a1
Simplify timed rebuilding messages
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
8a3f9a71bf
Remove outdated comment
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
824f8a3e48
Move " 🔨 Rebuilding platform..." message from stdout to stderr
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
f967466346
Rephrase "your machine" to "the current machine"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
4625a0a869
Rephrase CPU-related "platform"/"host" to "target"/"your machine"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
5717f698d8
Rename internal precompiled
flag to prebuilt
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
68be131bd7
Rephrase "precompiled platform" to "prebuilt platform"
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
50a8cff460
Rephrase "host-application linking" to "platform-..."
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
5663a1d9f9
Rephrase "precompiled host" to "precompiled platform"
...
This is for clarity to Roc app developers, for whom "host" is not
necessarily in their Roc vocabulary. Additionally, this phrasing
is simply more accurate.
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
97ce32ebde
Rephrase "Rebuilding host" to "Rebuilding platform"
2022-09-11 10:25:01 -06: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
3fa6e4c6ef
Ensure one trailing newline per .md
file
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md047
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
6229eb54ca
Add blank lines around fenced code blocks
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031
2022-09-07 23:18:03 -06:00
Brian Carroll
842a416d5a
Merge branch 'main' of github.com:rtfeldman/roc into markdown
2022-09-07 18:51:09 +01:00
Folkert de Vries
bdbaa9dda2
Merge pull request #3956 from roc-lang/refactor-surgery
...
minor cleanup of surgery
2022-09-06 19:17:02 +02:00
Folkert de Vries
6dc86513a1
Merge pull request #3973 from roc-lang/dependabot/cargo/libc-0.2.132
...
Bump libc from 0.2.126 to 0.2.132
2022-09-06 18:48:36 +02:00
Brian Carroll
fda33fc70d
Fix CLI test
2022-09-06 09:01:48 +01:00
dependabot[bot]
095505ee15
Bump libc from 0.2.126 to 0.2.132
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.126 to 0.2.132.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.132 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 07:27:05 +00:00
Anton-4
322ae187bc
Merge branch 'main' into markdown
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-06 08:31:49 +02: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
Bryce Miller
9c6c8de5b4
remove special handling of platform-switching examples
2022-09-04 21:53:01 -04:00
Brian Carroll
fe8ea970e8
static-site-gen: report successes & errors, and update roc_cli test
2022-09-04 16:53:01 +01:00
Folkert
0e22dd79c9
cleanup
2022-09-03 16:20:52 +02:00
Folkert
6c51198c6b
get rid of some mutual references
2022-09-03 15:01:59 +02:00
Jan Van Bruggen
4508a27fda
Merge pull request #3918 from roc-lang/format_cli_help
...
Improve consistency in CLI help messages
2022-09-02 20:03:45 -06:00
Folkert de Vries
93ace1d6f3
Merge pull request #3945 from roc-lang/i3942
...
Adds lambda set layout interning
2022-09-02 21:08:30 +02:00
Bryce Miller
a1543b5cc4
treat platform-switching similarly to benchmarks
2022-09-02 10:44:29 -04:00
Bryce Miller
67a5aedd44
Merge branch 'roc-lang:main' into move-examples-3912
2022-09-01 15:20:34 -04:00
Brian Carroll
bfc00a4b94
Merge pull request #3920 from roc-lang/static-site-gen
...
Static site generator example
2022-09-01 07:12:12 +01:00
Ayaz Hafiz
c5466810a4
Add LayoutInterner to LayoutCache
...
Adds a thread-local interner of layouts to LayoutCache, and updates all
references appropriately.
This is a bit suboptimal for single-threaded workloads that will look at
creating layout caches again, like the REPL, but I think that's okay for
now - since the global interner will be uncontested for those workloads, it
should still be plenty fast to access the interner, even behind a lock.
2022-08-31 14:33:51 -05: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
f1cb7d735b
try to use legacy linker on static-site-gen in example tests
2022-08-30 23:57:38 +01:00
dependabot[bot]
492eff3556
Bump clap from 3.2.11 to 3.2.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.11 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.11...v3.2.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 10:17:11 +00:00
Brian Carroll
1a8419e9e6
cli_run: support examples with more than one path argument
2022-08-29 22:13:08 +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
Jelle Besseling
f7b2a73a75
Add SwiftUI demo
2022-08-28 13:34:42 +02:00