Commit graph

19366 commits

Author SHA1 Message Date
Brian Carroll
2b3e386345
www: Disable Web REPL input until the compiler .wasm has loaded 2022-09-12 23:00:22 +01:00
Richard Feldman
f85f1b84a2
Merge pull request #3991 from roc-lang/glue-handle-multiple-modules
Add glue test case for multiple modules, and when anonymous type is reused
2022-09-12 13:55:41 -07:00
Ayaz Hafiz
0b2cea8c42
Move 2022-09-12 13:25:01 -04:00
Ayaz
6caf945c6a
Merge pull request #4020 from roc-lang/JanCVanB-patch-1
Fix file example app executable name
2022-09-12 12:44:40 -04:00
Ayaz
08c5903a48
Merge pull request #4017 from roc-lang/dependabot/cargo/serde-1.0.144
Bump serde from 1.0.139 to 1.0.144
2022-09-12 12:44:14 -04:00
Ayaz
11e4b252da
Merge pull request #4023 from roc-lang/dependabot/cargo/clap-3.2.20
Bump clap from 3.2.18 to 3.2.20
2022-09-12 12:43:47 -04:00
Ayaz
e34853dcf7
Merge pull request #4022 from roc-lang/dependabot/cargo/pest-2.3.1
Bump pest from 2.1.3 to 2.3.1
2022-09-12 12:43:30 -04:00
Ayaz Hafiz
564d9f795a
Deal with equivalence in the presence of unresolved recursive pointers 2022-09-12 12:39:47 -04:00
Ayaz Hafiz
9eb1c170f3
Print unreachable id 2022-09-12 12:26:44 -04:00
Ayaz Hafiz
9f3a44d323
Remove redundant reference 2022-09-12 12:26:44 -04:00
Ayaz Hafiz
ea527f627f
Add test for multiple modules and anonymous string 2022-09-12 12:26:43 -04:00
Ayaz Hafiz
f1b5705b06
Re-use existing ID of added anonymous type, when possible 2022-09-12 12:26:43 -04:00
Ayaz Hafiz
15f66e3eaa
Add some tracing for debug purposes 2022-09-12 12:26:43 -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]
b3744a3647
Bump pest from 2.1.3 to 2.3.1
Bumps [pest](https://github.com/pest-parser/pest) from 2.1.3 to 2.3.1.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/commits/v2.3.1)

---
updated-dependencies:
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 10:33:06 +00:00
Folkert de Vries
bc13454d1b
Merge pull request #4016 from roc-lang/dependabot/cargo/pretty_assertions-1.3.0
Bump pretty_assertions from 1.2.1 to 1.3.0
2022-09-12 12:32:04 +02:00
Brian Carroll
c1709ea0d2
static-site-gen: print message before writing file 2022-09-12 08:31:46 +01:00
Jan Van Bruggen
4fa52e6dee
Fix file example app executable name
Signed-off-by: Jan Van Bruggen <JanCVanB@users.noreply.github.com>
2022-09-12 01:12:12 -06:00
dependabot[bot]
555ed2c7fc
Bump serde from 1.0.139 to 1.0.144
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.144)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 05:28:20 +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
8fbd09b9ea
Merge pull request #3998 from roc-lang/cli-platform-improvements
Basic file I/O for CLI platform
2022-09-11 19:33:22 -06:00
Richard Feldman
24dcc91799
Work around formatter bug (namely #4013) 2022-09-11 20:26:49 -04:00
Richard Feldman
be0c098b76
Revert "Always put the | in a has clause on a new line"
This reverts commit fd2ef1a3ce.
2022-09-11 20:25:15 -04:00
Richard Feldman
5d7213aa7d
Removed an || condition that was always false 2022-09-11 20:19:22 -04:00
Richard Feldman
fd2ef1a3ce
Always put the | in a has clause on a new line 2022-09-11 20:19:11 -04:00
Richard Feldman
8e6abc8079
Clean up some formatter logic 2022-09-11 20:18:40 -04:00
Richard Feldman
d13d79d455
roc format 2022-09-11 19:28:36 -04:00
Richard Feldman
079311d080
Flesh out basic file I/O examples 2022-09-11 16:56:04 -04:00
Richard Feldman
224475a87d
Simplify File error types 2022-09-11 16:56:04 -04:00
Richard Feldman
d7235d376f
Improve documentation in File.roc 2022-09-11 16:56:04 -04:00
Folkert
d725e44538
handle case where C returns by-value, but roc wants to return by-pointer 2022-09-11 16:56:03 -04:00
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
d0656bf793
Merge pull request #3972 from roc-lang/reword_host_to_platform
Reword "host" to "platform" for app developers
2022-09-11 11:51:15 -06:00
Jan Van Bruggen
3cad172c79
Simplify & generalize comment 2022-09-11 10:25:02 -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
431455dd1b
Rephrase web/terminal-related "platform" to "environment" 2022-09-11 10:25:02 -06:00
Jan Van Bruggen
2f0df1d64d
Rephrase "cross-platform" to "cross-target" 2022-09-11 10:25:02 -06:00