Commit Graph

1256 Commits

Author SHA1 Message Date
Ayaz Hafiz
dd88af75c9
Error handling for subcommands 2022-09-14 11:26:50 -05:00
Ayaz Hafiz
391c87b50b
Initial support for subcommands 2022-09-14 11:26:50 -05:00
Ayaz Hafiz
6d1a903841
Remove Default for now 2022-09-14 11:26:50 -05:00
Ayaz Hafiz
2e1d99299f
Use parseFormatted 2022-09-14 11:26:50 -05:00
Ayaz Hafiz
04fd4412fd
Expose apply 2022-09-14 11:26:50 -05:00
Ayaz Hafiz
b0ab69d41c
Format help 2022-09-14 11:26:49 -05:00
Ayaz Hafiz
9c34aac6fd
Start on parseFormatted 2022-09-14 11:26:49 -05:00
Ayaz Hafiz
e7c0cad1e7
Report missing args and types in errors 2022-09-14 11:26:49 -05:00
Ayaz Hafiz
8d2d0671d3
Improve arg example 2022-09-14 11:26:49 -05:00
Ayaz Hafiz
406d476e29
Expose apply 2022-09-14 11:26:49 -05:00
Ayaz Hafiz
f7fdb725c8
Revert "Rename Arg to ArgParse"
This reverts commit 3b3f1699a6b6d275bfd8a26137a4c5666db23a37.
2022-09-14 11:26:49 -05:00
Ayaz Hafiz
c5eb271497
Rename Arg to ArgParse 2022-09-14 11:26:49 -05:00
Ayaz Hafiz
0b53f40c02
Expose bool, str 2022-09-14 11:26:48 -05:00
Ayaz Hafiz
75b93c5563
Add types to config 2022-09-14 11:26:48 -05:00
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
Ayaz Hafiz
2cd7535320
Add some more expects to the arg parser 2022-09-14 11:26:46 -05:00
Richard Feldman
4046d883c9
Get basic andMap example working 2022-09-14 11:26:46 -05:00
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
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
Brian Carroll
1a5395d196
static-site-gen: check output dir exists, to kill a Heisenbug on CI 2022-09-10 23:49:54 +01: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
072a6bd002
Eliminate consecutive newlines
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3902668ce5
Add angle brackets to bare URLs
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md034
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3219178003
Ensure only one h1 per .md file
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md025
2022-09-07 23:27:18 -06:00
Brian Carroll
cf6a62b7ad
static-site-gen: Use Box to workaround app/host ABI issues 2022-09-07 23:36:43 +01: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
Brian Carroll
6fe9466b0d
static-site-gen: add some CSS 2022-09-05 21:13:37 +01:00
Brian Carroll
c21a6cb67c
static-site-gen: New example using lorem ipsum content 2022-09-05 20:46:53 +01:00
Brian Carroll
aeac8035c1
Delete example (open license is for markdown not for the site) 2022-09-05 18:43:32 +01: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
Brian Carroll
be245a8ede
static-site-gen: fix typos 2022-09-04 19:10:25 +01:00
Brian Carroll
fe8ea970e8
static-site-gen: report successes & errors, and update roc_cli test 2022-09-04 16:53:01 +01:00
Brian Carroll
ce357db270
static-site-gen: make the nav links nicer 2022-09-04 16:43:44 +01:00
Brian Carroll
bbb36cae17
static-site-gen: move assets to output folder 2022-09-04 16:43:05 +01:00
Brian Carroll
93bc73fb14
static-site-gen: copy assets from Daring Fireball 2022-09-04 16:43:03 +01:00
Brian Carroll
edb9fb7022
static-site-gen: formatting 2022-09-04 16:42:56 +01:00
Brian Carroll
70c424b138
static-site-gen: template compiles 2022-09-04 16:42:53 +01:00
Brian Carroll
82bbccfb53
BAD ERROR: importing 'lang' twice causes compiler crash 2022-09-04 16:42:49 +01:00
Brian Carroll
9f32ce4e53
static-site-gen: <head> compiles 2022-09-04 16:42:42 +01:00
Brian Carroll
35858ed4f8
Fixed error by removing = 2022-09-04 16:42:36 +01:00
Brian Carroll
0487107e24
Unhelpful compiler error (wrong location with invalid href=
── UNFINISHED LIST ────────────────── examples/static-site-gen/static-site.roc ─

I am partway through started parsing a list, but I got stuck here:

21│          head [] [
22│              meta [httpEquiv "content-type" , content "text/html; charset=utf-8" ] [],
23│              title [] [text "Daring Fireball: Markdown"],
24│              link [rel "apple-touch-icon-precomposed" ,href="/graphics/apple-touch-icon.png"] [],
                 ^

I was expecting to see a closing square bracket before this, so try
adding a ] and see if that helps?

Note: When I get stuck like this, it usually means that there is a
missing parenthesis or bracket somewhere earlier. It could also be a
stray keyword or operator.
2022-09-04 16:42:02 +01:00
Brian Carroll
e15ed9c846
static-site-gen: Replace hello.txt with a copy of John Gruber's website 2022-09-04 16:41:43 +01:00
Brian Carroll
a8cd357b77
static-site-gen: add a Rust Markdown parser 2022-09-04 16:41:40 +01:00
Brian Carroll
bbc8c36d30
static-site-gen: get rid of Result 2022-09-04 16:41:24 +01:00
Brian Carroll
65a18591e5
static-site-gen: treat all input files as Str rather than List U8
This is just a lot more convenient and in practice isn't really a limitation
2022-09-04 16:41:14 +01:00
Brian Carroll
72174e41a6
static-site-gen: Add a gitignored bin folder 2022-09-04 16:41:02 +01:00
Brian Carroll
2c4b5a8b68
static-site-gen: update README 2022-09-04 16:40:42 +01:00
Richard Feldman
15f349fc37
Link to the CLI platform docs in examples README 2022-09-03 21:11:21 -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
Bryce Miller
67a5aedd44
Merge branch 'roc-lang:main' into move-examples-3912 2022-09-01 15:20:34 -04: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
0759b646e6
examples: fix static-site-gen when output dir doesn't exist yet 2022-08-31 09:00:24 +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
Brian Carroll
63bc153025
Fix build errors 2022-08-29 23:23:38 +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
Brian Carroll
f2ddaa95db
Account for a compiler bug and tweak platform a bit 2022-08-28 23:29:38 +01:00
Brian Carroll
5aee798340
examples: Add a README to the static site generator 2022-08-28 21:52:04 +01:00
Brian Carroll
7d6f0b3806
examples: first draft of static site generator example 2022-08-28 14:33:03 +01:00
Brian Carroll
c1a38bc400
examples: move Html Roc files into platform dir 2022-08-28 14:26:00 +01:00
Jelle Besseling
f7b2a73a75
Add SwiftUI demo 2022-08-28 13:34:42 +02:00
Brian Carroll
2af152dfe2
examples: create an HTML library for static site generation 2022-08-27 13:04:07 +01:00
Folkert
5451c5461e
use timer in the benchmark platform 2022-08-26 18:28:40 +02:00
Folkert de Vries
286e27547e
Merge pull request #3770 from roc-lang/dependabot/cargo/examples/breakout/platform/nix-0.20.2
Bump nix from 0.20.0 to 0.20.2 in /examples/breakout/platform
2022-08-22 22:54:12 +02:00
Folkert
9bebc9cb69
swap shift arguments in Bytes.Encode 2022-08-21 16:43:10 +02:00
kilianv
45accb8568
Swap operators in examples which use bit shifting 2022-08-21 14:16:01 +02:00
Richard Feldman
94750c7cfa
Lower minimum Ruby version in ruby-interop example
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-08-16 14:02:31 -04:00
Ross Smyth
c42b8ad91b
Add safety comment that was missed 2022-08-13 15:41:03 -04:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout 2022-08-13 03:49:12 -04:00
dependabot[bot]
c83c57b7f5
Bump nix from 0.20.0 to 0.20.2 in /examples/breakout/platform
Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.20.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.20.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.20.0...v0.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 23:53:10 +00:00
Richard Feldman
503dd08230
Merge pull request #3767 from roc-lang/dependabot/cargo/examples/gui/platform/nix-0.20.2
Bump nix from 0.20.0 to 0.20.2 in /examples/gui/platform
2022-08-12 19:52:50 -04:00
Richard Feldman
32f63f46a6
Merge pull request #3739 from roc-lang/ruby-interop
Ruby interop example
2022-08-12 17:17:27 -04:00
dependabot[bot]
3b2e16216f
Bump nix from 0.20.0 to 0.20.2 in /examples/gui/platform
Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.20.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.20.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.20.0...v0.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 21:09:47 +00:00
Richard Feldman
7b2c1a7e64
s/trunk/main/g 2022-08-12 15:24:37 -04:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Richard Feldman
37329860d1
Re-enable and consolidate some CLI tests 2022-08-11 17:22:02 -04:00
Richard Feldman
56ae0f7ee1
Add initial examples/ruby-interop 2022-08-11 17:15:07 -04:00
Ayaz Hafiz
fe215cd9b6
Update example lockfiles due to https://github.com/rtfeldman/roc/pull/3691 2022-08-10 20:24:19 -07:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Folkert de Vries
40fff68dbc use std.time.Timer for zig runtimes 2022-08-03 22:23:48 +02: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
Richard Feldman
988d974870
Merge pull request #3620 from rtfeldman/http
Http improvements
2022-07-23 22:47:52 -04:00
Brian Carroll
49aef87b4a
Get rid of options that don't do anything 2022-07-23 09:11:30 +01:00
Brian Carroll
e5a2bb86b6
Handle response headers 2022-07-23 09:04:47 +01:00
Brian Carroll
b5edd03554
http: configure method, headers, etc. 2022-07-23 08:53:52 +01:00
Brian Carroll
f8771ebeb2
http: Switch to using reqwest crate for blocking http 2022-07-23 08:53:51 +01:00
Brian Carroll
a2b130a3c3
Use RocList::from_iter in sendRequest 2022-07-23 08:53:51 +01:00
Brendan Hansknecht
fae2ed7a2b
Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort 2022-07-22 23:28:46 -07:00
Richard Feldman
c0b0b5e12b
Merge remote-tracking branch 'origin/trunk' into path-fixes 2022-07-21 11:02:23 -04:00
Ayaz Hafiz
3c326769dd
Fix TUI example 2022-07-21 09:02:04 -04:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Marten/Qqwy
2d4b26b3b8
Result.after -> Result.try 2022-07-19 22:32:47 +02:00
Marten/Qqwy
64bd0e5007
Merge branch 'trunk' into csv_decoding-server_example 2022-07-19 22:20:57 +02:00
Brendan Hansknecht
8bc6131b3d
Merge branch 'trunk' into gen-dev/quicksort 2022-07-18 22:05:45 -07:00
Brian Carroll
5c94064c7b
Remove multiPartBody since it's not implemented properly 2022-07-18 23:21:24 +01:00
Brian Carroll
e1bf4a317a
Re-export Http types from the Http module itself 2022-07-18 23:16:54 +01:00
Brian Carroll
c35318dbfb
formatting 2022-07-18 21:04:12 +01:00
Brian Carroll
16af6fc297
Format Http.roc 2022-07-18 18:26:49 +01:00
Marten/Qqwy
feacc1bc3b
Merge branch 'trunk' into csv_decoding-server_example 2022-07-18 15:54:26 +02:00
Brian Carroll
269d416132
Merge branch 'trunk' of github.com:rtfeldman/roc into http-sync 2022-07-18 08:14:50 +01:00
Richard Feldman
0acab0eef3
Rename Result.after to Result.try 2022-07-17 17:25:50 -04:00
Brian Carroll
e7c26ae3b1
Regenerate glue code for cli-platform 2022-07-17 22:00:21 +01:00
Brian Carroll
bcfd50724f
More cleanup on Http platform & app 2022-07-17 22:00:21 +01:00
Brian Carroll
b0e8951e6b
Add some TODO comments 2022-07-17 22:00:20 +01:00
Brian Carroll
b84aac098e
Tidy up reading the Response body bytes 2022-07-17 22:00:20 +01:00
Brian Carroll
c50cbd265a
Wrap a record in Box before passing it to the host, to work around an ABI issue 2022-07-17 22:00:19 +01:00
Brian Carroll
3c506eb79c
Update bindgen glue code 2022-07-17 22:00:19 +01:00
Brian Carroll
a4e4dc84b1
Change Method type to a tag union 2022-07-17 22:00:19 +01:00
Brian Carroll
48aa248813
Use non-empty values for all fields in Request example, to debug host interface 2022-07-17 22:00:18 +01:00
Brian Carroll
f1e88e8af6
Use a tag instead of record for Http Header. Nicer in real usage. 2022-07-17 22:00:18 +01:00
Brian Carroll
2b8466d427
Revert "reproduce unhandled parse error"
This reverts commit 9e44dedfbb3aab98ab872afea76d0c8a0aac1679.
2022-07-17 22:00:18 +01:00
Brian Carroll
535c2b1c58
reproduce unhandled parse error 2022-07-17 22:00:17 +01:00
Brian Carroll
33d8e12d31
Http example is running! Not debugged yet. 2022-07-17 22:00:17 +01:00
Brian Carroll
9aba821e82
Workaround a compile error with defaultRequest by.. not using it! 2022-07-17 22:00:16 +01:00
Brian Carroll
1d99a63c59
Fix Roc compile errors in http-get.roc 2022-07-17 22:00:16 +01:00
Brian Carroll
13018497b7
Manual fixes for bindgen code 2022-07-17 22:00:16 +01:00
Brian Carroll
a0ac1ff981
For now, commit bindgen generated code so we can record edits needed 2022-07-17 22:00:15 +01:00
Brian Carroll
85bd8c54f2
Tidy up Http example 2022-07-17 22:00:15 +01:00
Brian Carroll
bee6f2f833
Http example passes roc check 2022-07-17 22:00:15 +01:00
Brian Carroll
4be19ed320
Import Stdout 2022-07-17 22:00:14 +01:00
Brian Carroll
0e13c875c4
rename http example app 2022-07-17 22:00:14 +01:00
Brian Carroll
1c9becc252
Fix missing import 2022-07-17 22:00:13 +01:00
Brian Carroll
5fe5a8e8d5
BUG REPRO: bad error message for missing Json import 2022-07-17 22:00:13 +01:00
Richard Feldman
18cf29f6e9
Revert "Reproduce confusing error message"
This reverts commit 6c62f72489de68f92493eeda9584c3879dedbd84.
2022-07-17 22:00:12 +01:00
Richard Feldman
e77b2bf8b1
Reproduce confusing error message
To reproduce:
`cargo run -- check examples/interactive/cli-platform/main.roc`
2022-07-17 22:00:12 +01:00
Richard Feldman
1ee5d79fcf
Fix an import in Effect.roc 2022-07-17 22:00:12 +01:00
Richard Feldman
13f5f27c9b
Remove 'pf' in pf.Effect in platform import 2022-07-17 22:00:11 +01:00
Brian Carroll
63a2e66364
BUG REPRO roc check hangs forever on Http.roc 2022-07-17 22:00:11 +01:00