Commit Graph

117 Commits

Author SHA1 Message Date
Ayaz Hafiz
9c3c64c252
Move parser to Arg.roc 2022-09-14 11:26:47 -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
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
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
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
Folkert
1ceed06f2b
dealloc is wrong for static strings 2022-07-07 03:26:42 +02:00
Folkert
4bd5df4e0d
fix memory leak in c platform 2022-07-07 00:07:45 +02:00
Jan Van Bruggen
8f440f0b5a Rename "hello" executable to "helloWorld" 2022-06-27 00:06:37 -06:00
Jan Van Bruggen
a9d9acb2b8 Separate hello-world platform switching into its own example 2022-06-27 00:06:33 -06:00
Richard Feldman
2dd28c6be3
Remove Package-Config.roc from examples 2022-06-16 15:21:55 -04:00
Richard Feldman
52dc59383b
Update Cargo.lock on examples 2022-06-15 12:08:06 -04:00
Richard Feldman
f9e15c0a65
Revise hello-world example 2022-06-15 12:08:05 -04:00
Richard Feldman
8d6573fd76
Add a comment explaining the ManuallyDrop 2022-06-12 11:07:24 -04:00
Folkert
8d85d87326
extend lifetime of string till end of block 2022-06-12 16:09:44 +02:00
Richard Feldman
11b8dded25
Merge pull request #3161 from rtfeldman/cli-run-tricks
Cli run tricks
2022-06-08 10:09:56 -04:00
Brian Carroll
f7abb16163
ignore all .wasm files in examples, rather than individual ones 2022-06-06 16:45:22 +01:00
Anton-4
23236f5cb2
fixed hello swift 2022-06-01 17:15:52 +02:00
Folkert
e81e597d85
fix a complaint by my clang 2022-06-01 14:17:12 +02:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Anton-4
0f59f3097a
cargo fix --edition 2022-05-16 17:04:17 +02:00
Brian Carroll
aaea254e8f
Pass precompiled host bytes to gen_wasm in CLI 2022-05-15 11:11:08 +01:00
Brian Carroll
997daacf66
Update some Zig code to 0.9.1 2022-05-15 11:10:41 +01:00
Folkert
302b90906a
fix helloZig 2022-04-08 10:05:18 +02:00
Folkert
9d9e7d10d4
use exposed_generic in hello world examples 2022-03-12 14:42:14 +01:00
Brendan Hansknecht
8b7acb5c93 update hello-world examples to use capacity 2022-03-11 19:26:09 -08:00
Jan Van Bruggen
ed29497cd3 Remove unnecessary scripts
These assume bash, and their steps are easily performed with
the Roc CLI and the README docs.
2022-03-07 21:12:11 -07:00
Jan Van Bruggen
0e186631eb Rename hello examples from snake_case to camelCase for consistency 2022-03-07 21:10:19 -07:00
Jan Van Bruggen
589861a88a Re-append newline after "Hello, World!" output
See https://github.com/rtfeldman/roc/pull/2470#discussion_r821295601
(@rtfeldman has "seen some terminals get really unhappy if a program
prints things and doesn't print a newline to stdout before exiting")
2022-03-07 21:06:53 -07:00
Jan Van Bruggen
5d7c06321e Update hello_world.roc references in docs 2022-03-07 20:11:10 -07:00
Jan Van Bruggen
793835cc24 Re-consolidate web example & improve instructions 2022-03-07 20:11:08 -07:00
Jan Van Bruggen
ca8f196f3b Clarify some script steps 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
dcc7b64ecb Add helpful bash scripts 2022-03-07 20:10:48 -07:00
Jan Van Bruggen
eadf39e47b Add multi-platform Hello World example 2022-03-07 20:00:32 -07:00
Jan Van Bruggen
48a2fa5148 Homogenify Hello World example logic 2022-03-07 20:00:07 -07:00
Jan Van Bruggen
9f68194436 Remove trailing newlines from Hello World examples 2022-03-07 20:00:07 -07:00
Jan Van Bruggen
6ea8df5e16 Consolidate all Hello World examples into one dir 2022-03-07 20:00:05 -07:00
Jan Van Bruggen
a2f2434d71 Rename hello-world to hello-c 2022-03-07 19:59:30 -07:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Folkert
885500712c remove old Effect module things 2022-02-03 23:55:02 +01:00
Folkert
a98635ed06 update other examples 2022-02-03 22:45:15 +01:00