Commit graph

1527 commits

Author SHA1 Message Date
Richard Feldman
a023d26590
Basic arg parser example 2022-09-14 11:26:46 -05:00
Richard Feldman
dd080030ee
Move test into main for easier repro 2022-09-14 11:26:46 -05:00
Richard Feldman
2dc1df165e
Revert "Add Args.roc"
This reverts commit 92038e82fee0d8d6ecca33ad7b3e542a7a3f485b.
2022-09-14 11:26:46 -05:00
Richard Feldman
6f368a219d
Add Args.roc 2022-09-14 11:26:46 -05:00
Richard Feldman
e37a8f3089
Remove optional fields to fix panics 2022-09-14 11:26:45 -05:00
Richard Feldman
0313bdec08
Fix decision_tree panic 2022-09-14 11:26:45 -05:00
Richard Feldman
ef7718958b
Repro decision_tree panic 2022-09-14 11:26:45 -05:00
Richard Feldman
fc933d2991
Reproduce compiler stack overflow 2022-09-14 11:26:45 -05:00
Richard Feldman
b50101011f
More arg parsing improvements 2022-09-14 11:26:45 -05:00
Richard Feldman
27e8b156c2
Fix type mismatch 2022-09-14 11:26:45 -05:00
Richard Feldman
80467e23d6
Reproduce type mismatch with 2 identical errors 2022-09-14 11:26:45 -05:00
Richard Feldman
5070593197
Got parser compiling except for unsafe patterns 2022-09-14 11:26:45 -05:00
Richard Feldman
398f1fcf3f
Remove most of Path implementation for now. 2022-09-14 11:26:44 -05:00
Richard Feldman
fac076c239
Remove httpGetUtf8 effect in favor of sendRequest 2022-09-14 11:26:44 -05:00
Richard Feldman
3228c89815
Don't depend on ureq twice 2022-09-14 11:26:44 -05:00
Richard Feldman
963acb0ff5
Add effects for file I/O 2022-09-14 11:26:44 -05:00
Richard Feldman
f3dfab8a94
Fix incorrect merge resolution of Http module 2022-09-14 11:26:44 -05:00
Richard Feldman
7d1376b273
Add Env to cli example 2022-09-14 11:26:43 -05:00
Richard Feldman
ddbfd48ca3
Merge branch 'main' into pass-args-to-cli 2022-09-12 23:53:55 -04:00
Richard Feldman
3f467459f9
roc format 2022-09-12 20:39:06 -04:00
Richard Feldman
33ca6147c9
Fix CLI platform docs 2022-09-12 20:39:05 -04:00
Richard Feldman
21b74f6dbb
Add Dir and Env to CLI platform 2022-09-12 20:19:12 -04:00
Richard Feldman
4ccd726141
Fix File.readBytes 2022-09-12 20:18:52 -04:00
Richard Feldman
81d11e4edd
Add File.delete to CLI platform 2022-09-12 20:18:51 -04:00
Richard Feldman
d5cc75907f
Update file I/O example 2022-09-12 20:18:50 -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 Hafiz
c85562f3e8
Format 2022-09-12 12:25:37 -04:00
Ayaz Hafiz
42fdae4a57
Pass args by pointer 2022-09-12 12:25:37 -04:00
Ayaz Hafiz
203b21f7d1
Use OS args rather than string args 2022-09-12 12:25:36 -04:00
Ayaz Hafiz
ed9271829c
Cargo fmt 2022-09-12 12:25:04 -04:00
Ayaz Hafiz
98b6fe0f7f
Add command-line arguments for platform example 2022-09-12 12:25:03 -04:00
Ayaz Hafiz
ec628ed5c6
Pass cli arguments to main required by cli platform 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
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
Jan Van Bruggen
e84b43ddb6
Categorize FALSE interpreter as a CLI 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
d0f5599bd7
Categorize breakout game as a GUI 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
2eec200f09
Move helloWorld example up onto cli-platform 2022-09-11 22:22:50 -06:00
Richard Feldman
24dcc91799
Work around formatter bug (namely #4013) 2022-09-11 20:26:49 -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
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