Commit graph

129 commits

Author SHA1 Message Date
Ayaz Hafiz
b453bc9d31
Format 2022-09-14 11:26:48 -05:00
Ayaz Hafiz
ff725be187
Admit optional record fields when constructing parsers 2022-09-14 11:26:48 -05:00
Ayaz Hafiz
490bb51d71
Rename bool and str 2022-09-14 11:26:48 -05:00
Ayaz Hafiz
ea6bdb7fc3
roc format 2022-09-14 11:26:48 -05:00
Ayaz Hafiz
ccb579dda8
Implement toHelp 2022-09-14 11:26:48 -05:00
Ayaz Hafiz
0b7d9e58ae
Revert "Remove WithConfig for now"
This reverts commit 38dd0aa449b9dcc572462788860535894f71deee.
2022-09-14 11:26:47 -05:00
Ayaz Hafiz
7e89c8777b
Simplify 2022-09-14 11:26:47 -05:00
Ayaz Hafiz
e738d5e04e
Name tests 2022-09-14 11:26:47 -05:00
Ayaz Hafiz
42bded0aae
Refactor to use OptionStr 2022-09-14 11:26:47 -05:00
Ayaz Hafiz
6979338617
Remove WithConfig for now 2022-09-14 11:26:47 -05:00
Ayaz Hafiz
9c3c64c252
Move parser to Arg.roc 2022-09-14 11:26:47 -05:00
Ayaz Hafiz
a46713dd87
Clear out env and file examples 2022-09-14 11:26:47 -05:00
Ayaz Hafiz
6a19e3d7d5
Clear out cli platform changes 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
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
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
ec628ed5c6
Pass cli arguments to main required by cli platform 2022-09-12 12:23:28 -04: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
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
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
Richard Feldman
1093bdde63
Fix a broken doc link 2022-09-03 20:25:48 -04:00
Richard Feldman
1ce5d7c98c
Remove some incorrect pf. qualifications 2022-09-03 19:00:31 -04:00
Richard Feldman
37329860d1
Re-enable and consolidate some CLI tests 2022-08-11 17:22:02 -04:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Richard Feldman
763f7eafcd
Use rustls in cli-platform example 2022-07-25 13:05:01 -04:00
Richard Feldman
ed69a73786
Update glue tests 2022-07-24 11:57:01 -04:00