Commit graph

659 commits

Author SHA1 Message Date
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
8a7f65910c Move effects example into interactive/ 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
f9a52b9ada Remove unused interfaces 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
8fbf672f1b Reformat examples/README 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
9d1dcc15c8 Consolidate interactive examples into one dir 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
d94796de0e Consolidate algorithm examples into one dir 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
Jan Van Bruggen
6f13d3494f Improve hello-zig app name 2022-03-07 19:59:29 -07:00
Jan Van Bruggen
a95ce92882 Consistent-ify platform dirs 2022-03-07 19:59:29 -07:00
Jan Van Bruggen
9298baa0d2 Simplify example ignores 2022-03-07 19:59:29 -07:00
Brian Carroll
92ace8ff67
Merge pull request #2626 from rtfeldman/gen-dev/quicksort2
Gen dev - Quicksort
2022-03-07 17:46:46 +00:00
Folkert de Vries
af15055c95
Merge pull request #2641 from rtfeldman/DecRepl
Display Dec in REPL
2022-03-07 16:17:06 +01:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl. 2022-03-06 11:52:25 -05:00
Philippe Vinchon
b32e7e0e2d Update example files 2022-03-05 22:32:34 +00:00
Brian Carroll
0464da84c0 Rename CLI --backend to --target since that's what it has always meant 2022-03-05 14:22:59 +00:00
Brendan Hansknecht
3bada97067 Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort2 2022-03-01 15:29:52 -08:00
Richard Feldman
ef28dbad84
Drop unnecessary extern declaration 2022-02-27 21:08:08 -05:00
Richard Feldman
696ec3c83e
zig fmt 2022-02-27 21:07:36 -05:00
Brendan Hansknecht
7a608524ec Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort2 2022-02-27 00:26:04 -08:00
Richard Feldman
d7b3a3f943
Format examples/gui 2022-02-25 23:19:24 -05:00
Richard Feldman
bec1fec695
Work around https://github.com/rtfeldman/roc/issues/2586 2022-02-25 23:07:23 -05:00
Richard Feldman
5cf0aa9899
Work around https://github.com/rtfeldman/roc/issues/2585 2022-02-25 23:06:52 -05:00
Richard Feldman
b21fdca968
Change some styles in examples/gui/Hello.roc 2022-02-25 22:38:58 -05:00
Richard Feldman
bab5be4e67
Implement ReferenceCount for RocElem 2022-02-24 21:38:07 -05:00
Richard Feldman
b85e79e6bc
Drop some obsolete code 2022-02-24 21:37:58 -05:00
Richard Feldman
1e2083e804
Merge remote-tracking branch 'origin/trunk' into gui-example 2022-02-24 18:11:18 -05:00
Richard Feldman
130b6108af
Revert "Reproduce monomorphization crash"
This reverts commit 181fcb97f7.
2022-02-24 00:18:53 -05:00
Richard Feldman
181fcb97f7
Reproduce monomorphization crash 2022-02-24 00:18:34 -05:00
Richard Feldman
4de6ad4afb
Drop unused field 2022-02-24 00:07:44 -05:00
Richard Feldman
39229013ea
Delete some obsolete comments 2022-02-23 21:36:05 -05:00
Richard Feldman
7f1f22f81a
Delete some obsolete gui example platform stuff 2022-02-23 21:34:12 -05:00
Richard Feldman
5fa5a15d44
Drop an obsolete comment 2022-02-23 21:27:18 -05:00
Richard Feldman
655373dbe7
Merge remote-tracking branch 'origin/trunk' into gui-example 2022-02-23 21:25:01 -05:00
Richard Feldman
66057b6643
Make Hello World gui example more legible 2022-02-23 21:22:22 -05:00
Richard Feldman
4168fc7c6e
Drop some unused code 2022-02-23 21:13:37 -05:00
Richard Feldman
716a0cc8c9
Replace RgbaTup with repr(c) Rgba struct 2022-02-23 21:12:42 -05:00
Richard Feldman
5b7acf8b4f
Make Row and Col work 2022-02-23 20:36:37 -05:00
Tom Dohrmann
788c8a6af2 reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
Richard Feldman
90a25efbd8
Store button styles in Button 2022-02-23 08:35:09 -05:00