Commit graph

1527 commits

Author SHA1 Message Date
Anton-4
71ad4b4ab7
fixed large memory consumption
Reducing MAX_QUADS to 1,000 reduced memory consumption to 43MB
2022-03-09 18:05:04 +01:00
Anton-4
56dc06a139
fixed the previous formatting change when inside longer pipeline 2022-03-09 14:07:52 +01:00
Anton-4
ba5d47d270
Merge branch 'trunk' of github.com:rtfeldman/roc into roc_fmt_fixes 2022-03-08 13:57:20 +01: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
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
Anton-4
21a30b1e83
fixed indentation for apply args 2022-03-07 16:23:15 +01:00
Folkert de Vries
af15055c95
Merge pull request #2641 from rtfeldman/DecRepl
Display Dec in REPL
2022-03-07 16:17:06 +01:00
Anton-4
454933e2c6
fixed unnecessary double indentation 2022-03-07 16:02:11 +01:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl. 2022-03-06 11:52:25 -05:00
Richard Feldman
261b406137
Use roc_alloc over Box::new when making elems 2022-03-06 08:40:29 -05:00
Richard Feldman
8f7f03343d
Add Debug instance for RocElem 2022-03-05 20:49:14 -05:00
Philippe Vinchon
b32e7e0e2d Update example files 2022-03-05 22:32:34 +00:00
Richard Feldman
258ffee84a
Reproduce RocElem segfault 2022-03-05 17:10:41 -05:00
Richard Feldman
873fad275f
Add some focus tests 2022-03-05 17:10:41 -05:00
Richard Feldman
c8ad0abec4
Use ElemId over raw pointers 2022-03-05 17:10:41 -05:00
Richard Feldman
665e71ba1f
Comment out some unused stuff 2022-03-05 17:10:41 -05:00
Richard Feldman
cb635ef301
Delete obsolete rects_and_texts 2022-03-05 14:21:20 -05:00
Richard Feldman
8302b732b8
First pass at Focus 2022-03-05 11:51:13 -05:00
Richard Feldman
9bf513b55c
Render height and width 2022-03-05 11:35:28 -05:00
Richard Feldman
3b6c66ccb2
Make a separate .gitignore for gui platform
This is just so I can open it in my editor and have
the editor pick up on the .gitignore
2022-03-05 11:35:28 -05:00
Richard Feldman
38fd3108f2
Use Program in examples/gui 2022-03-05 11:24:08 -05: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