From f594512bfb4166c328aebacfa973413767559136 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Sun, 19 Nov 2023 19:51:36 -0500 Subject: [PATCH 1/3] Add /platforms --- www/content/docs.md | 1 + www/content/index.md | 4 +- www/content/platforms.md | 118 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 www/content/platforms.md diff --git a/www/content/docs.md b/www/content/docs.md index 4882b6e650b..a7c246fbe4c 100644 --- a/www/content/docs.md +++ b/www/content/docs.md @@ -9,5 +9,6 @@ In the future, a language reference will be on this page too. ## [Guides](#guides) {#guides} - [FAQ (Frequently Asked Questions)](https://github.com/roc-lang/roc/blob/main/FAQ.md) +- [Platforms & Applications](/platforms) - [Roc for Elm Programmers](https://github.com/roc-lang/roc/blob/main/roc-for-elm-programmers.md) - [Tutorial](/tutorial) diff --git a/www/content/index.md b/www/content/index.md index 056b59ba769..a98c5a312a4 100644 --- a/www/content/index.md +++ b/www/content/index.md @@ -76,13 +76,13 @@ Here are some examples of how it can be used today. Stdout.line "Hello!"

You can use Roc to create scripts and command-line interfaces (CLIs). The compiler produces binary executables, so Roc programs can run on devices that don't have Roc itself installed.

As an example, the HTML for this website is generated using a simple Roc script. You can see the code for it in the main Roc code repository.

-

If you’re looking for a starting point for building a command-line program in Roc, basic-cli is a popular platform to check out.

+

If you’re looking for a starting point for building a command-line program in Roc, basic-cli is a popular platform to check out.