Commit graph

49 commits

Author SHA1 Message Date
Ayaz Hafiz
825ed1c8b3
Fully implement Decoding in EnvDecoding 2023-03-22 17:18:23 -05:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-08 19:46:00 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Folkert
8546f2c52b
fix some clippy warnings in platforms 2023-03-06 21:18:30 +01:00
Folkert
769a4c415b
update remaining cli tests 2023-03-05 16:57:51 +01:00
dependabot[bot]
c5c3dbeb31
Bump bumpalo from 3.11.0 to 3.12.0 in /examples/cli/cli-platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 22:23:22 +00:00
Ayaz Hafiz
3d0a0a4a99
Update more dict/set references 2023-01-14 15:33:54 +01:00
dependabot[bot]
e160d192ed
Bump tokio from 1.21.2 to 1.24.1 in /examples/cli/cli-platform
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 21:49:32 +00:00
Nathan Freestone
04c9454c20
changed expected output for tests to reflect new behavior 2022-12-11 18:39:14 -07:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal 2022-12-08 06:36:12 -05:00
Richard Feldman
2409399ff3
Don't even compile https stuff in wasm! 2022-11-26 08:53:31 -05:00
Richard Feldman
58fad36f9d
Merge pull request #4460 from roc-lang/crash
Crash
2022-11-25 17:18:21 -05:00
Ayaz Hafiz
aba047e84c
Add support for user crashes in the cli plat 2022-11-24 14:46:52 -06:00
Ayaz Hafiz
18713e2209
cli-platform handles roc_panic RocStr 2022-11-24 14:46:50 -06:00
Richard Feldman
c63425e188
Fix test 2022-11-24 12:06:58 -05:00
Richard Feldman
2e61df3b96
roc format 2022-11-24 05:47:35 -05:00
Richard Feldman
8bbc3ad925
Drop Program and third type param from Task 2022-11-24 03:21:14 -05:00
Ayaz Hafiz
f0fbf16be6
Remove panicking line in Args.roc 2022-11-16 14:05:51 -06:00
Folkert
b8145e8eb8
fix missing import 2022-11-09 13:05:54 +01:00
Folkert
d9d88328d3
update rust platform build.rs 2022-11-06 16:34:15 +01:00
Folkert
32e7a60c8a
use correct Ext trait 2022-11-06 16:34:15 +01:00
Folkert
05a5efff3e
on windows, going from bytes to OsString always owns 2022-11-06 16:34:15 +01:00
Folkert
59ac45107b
fix compile error 2022-11-06 16:34:15 +01:00
Folkert
b38c64e950
handle windows OsString in the cli platform 2022-11-06 16:34:14 +01:00
Folkert
0c9b49f5cd
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-11-02 23:02:22 +01:00
Ayaz Hafiz
71e759a456
CLI platform effects are open by default 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
cfe7c8e5ef
Warn on the presence of unnecessary wildcards in output positions 2022-10-31 09:38:20 -05:00
Richard Feldman
e6fd0c62fd
Do an explicit cast that doesn't make sense
I don't know why this is what the compiler wants,
given that the docs say it shouldn't need a cast,
but this is for some reason what the compiler wants.
2022-10-16 18:43:03 -04:00
Folkert
f562d61505
int cast on macos 2022-10-16 18:32:55 +02:00
Folkert
19ea3489cb
provide more libc functions for the expect implementation 2022-10-12 20:59:18 +02:00
Richard Feldman
d28445666b
Merge pull request #4265 from cjduncana/from-result
Add the `fromResult` function to the `Task` module
2022-10-08 23:12:44 -07:00
Jan Van Bruggen
d6114721f5
Merge pull request #4234 from roc-lang/add_Stdout.write
Add newline-less `Stdout.write` & `Stderr.write` to `cli-platform`
2022-10-08 22:26:46 -06:00
Jan Van Bruggen
158759ac47
Add Stderr.write to cli-platform 2022-10-08 20:50:25 -06:00
Jan Van Bruggen
b5afb27257
Add Stdout.write to cli-platform 2022-10-08 20:34:14 -06:00
Jan Van Bruggen
922ee41a26
Sort positionals help above options help 2022-10-08 20:31:07 -06:00
Jan Van Bruggen
1633df447f
Eliminate the word "positional" from arg parsing API 2022-10-08 20:31:07 -06:00
Jan Van Bruggen
eb02fb1e52
Fix typo 2022-10-08 20:31:07 -06:00
Jan Van Bruggen
da2c54580e
Expand abbreviations 2022-10-08 20:31:05 -06:00
Jan Van Bruggen
a39fc076d3
Rename non-positional "arg"/"flag" to "option" 2022-10-08 20:30:43 -06:00
Christopher Duncan
70f5560f0e
Add the fromResult function to the Task module 2022-10-08 20:58:28 -04:00
Richard Feldman
03da41c060
Format CLI backtraces 2022-10-08 15:03:03 -04:00
Brendan Hansknecht
94c51f3998
add a backtrace to panics on the cli platform 2022-10-08 09:49:54 -07:00
Anton-4
c6ec3d5d30
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-10-07 16:00:32 +02:00
Anton-4
dacf542942
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-10-04 15:01:25 +02:00
Anton-4
0aa590dfe7
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-30 19:27:30 +02:00
Anton-4
eaacb86ad9
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-28 19:48:46 +02:00
Anton-4
0ddc69e066
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-24 16:49:50 +02:00
Jan Van Bruggen
a9a65fcf4b
Recategorize interactive apps as CLIs 2022-09-11 22:32:15 -06:00