Commit graph

350 commits

Author SHA1 Message Date
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
Jan Van Bruggen
a53819cad1
Refer to the user with explicit 2nd-person voice 2022-08-28 01:39:30 -06:00
Jan Van Bruggen
626fe7787d
Remove trailing periods & add newlines, for consistency 2022-08-28 01:39:29 -06:00
Jan Van Bruggen
bdc9246db0
Rephrase to imperative tense, for consistency 2022-08-28 01:13:33 -06:00
Richard Feldman
3ca9202e3b
Merge pull request #3834 from roc-lang/rust-1.63-clippy
rust 1.63 clippy
2022-08-27 21:15:36 -04:00
Richard Feldman
7e3a10906c
Merge pull request #3888 from roc-lang/windows-cross-compilation
windows cross compilation
2022-08-27 07:59:05 -04:00
Brian Carroll
4a4c7b7a11
Fix Rust warnings in roc_cli on Windows 2022-08-26 08:44:30 +01:00
Folkert
1f778db26c
define roc_alloc and friends in cli/src/lib.rs on windows 2022-08-26 08:44:30 +01:00
Folkert
f2b2adb550
attempt to disable roc_repl_expect on windows 2022-08-26 08:44:26 +01:00
Brian Carroll
6038a5da0d
cli: use memexec crate to execute raw bytes on Windows without spawning a process 2022-08-24 21:36:49 +01:00
Folkert de Vries
c06e5cfa32
Merge pull request #3769 from roc-lang/expect-fx-codegen
expect fx codegen
2022-08-24 19:48:42 +02:00
Folkert
8ca7ee1e14
build zig builtins for windows 2022-08-24 16:59:06 +02:00
Folkert
430c783859
add windows target to the cli 2022-08-24 15:51:54 +02:00
Ayaz Hafiz
963911814f
Print traces to files with ROC_LOGTO 2022-08-23 15:37:33 -05:00
Ayaz Hafiz
848facb386
Add roc_tracing crate and initial traces in mono 2022-08-23 12:47:41 -05:00
Folkert
a22e04361c
Merge remote-tracking branch 'origin/main' into expect-fx-codegen 2022-08-23 16:28:21 +02:00
Richard Feldman
a8964f87aa
Add roc dev command to CLI 2022-08-21 18:07:59 -04:00
Folkert
f3f6f58d09
clippy fixes 2022-08-21 16:43:57 +02:00