Commit Graph

1275 Commits

Author SHA1 Message Date
Richard Feldman
9cac29c00c
Rename some Ruby interop demo things 2022-11-03 23:04:15 -04:00
Richard Feldman
70c822c1d3
Simplify rb_funcall call 2022-11-03 23:04:07 -04:00
Richard Feldman
8ebdc44a23
Have Ruby interop call JSON.parse
Thanks to @besquared for showing me how to do this!

https://mobile.twitter.com/besquared/status/1588363108606541824
2022-11-03 22:59:24 -04:00
Richard Feldman
a06ba9ad23
Rename ruby interop platform 2022-11-03 22:47:04 -04:00
Richard Feldman
e31d308866
Use JSON to talk to Ruby 2022-11-03 22:39:10 -04:00
Richard Feldman
0721f5a9d8
Use JSON in the ruby-interop demo 2022-11-03 21:56:01 -04:00
Richard Feldman
9ca45602bb
Add function for calling Roc from Ruby via JSON 2022-11-03 02:00:58 -04:00
Richard Feldman
b6575e86d7
Have roc_panic raise a Ruby exception 2022-11-03 02:00:45 -04:00
Richard Feldman
e9e3537738
Clean up some demo.c logic 2022-11-03 00:11:32 -04:00
Richard Feldman
768f7ff49e
Clarify some parentheses 2022-11-03 00:06:31 -04:00
Richard Feldman
28c55cff38
Use PTRDIFF_MIN 2022-11-03 00:06:14 -04:00
Richard Feldman
53c570eca8
More improvements to demo.c 2022-11-03 00:06:14 -04:00
Richard Feldman
efc7d87e5a
Add incref and decref to demo.c 2022-11-02 22:58:30 -04:00
Richard Feldman
7ebb74dc83
Use uint8_t over char, fix + vs - in demo.c 2022-11-02 22:58:30 -04:00
Anton-4
85ce321c4d
Merge pull request #4347 from roc-lang/benchmarks-to-nix
moved earthly benchmarks to nix
2022-11-02 14:36:20 +01:00
Brian Carroll
9ebf934ee7
Merge pull request #4444 from roc-lang/windows-cli-tests
Windows cli tests
2022-11-01 06:43:23 +00:00
Folkert
4e5f6c3def
Revert "try host.zig for better debugger experience"
This reverts commit 93ec648a61.
2022-10-31 22:58:50 +01:00
Folkert
0cada70627
add comment about removeing \r 2022-10-31 22:48:50 +01:00
Folkert de Vries
55ea3bbea2
Merge pull request #4437 from roc-lang/windows-effect-loop-scratchpad
windows: working cli benchmark tests
2022-10-31 22:33:10 +01:00
Ayaz Hafiz
71e759a456
CLI platform effects are open by default 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
cfe7c8e5ef
Warn on the presence of unnecessary wildcards in output positions 2022-10-31 09:38:20 -05:00
Folkert
93ec648a61
try host.zig for better debugger experience 2022-10-30 16:34:47 +01:00
Folkert
9620140079
use timer instead of CLOCK in zig platforms 2022-10-30 13:46:21 +01:00
Folkert
7b449516ad
strip carriage return differently 2022-10-30 11:50:26 +01:00
Folkert
b3f151fd53
deal with carriage return when getting a number from stdin 2022-10-29 21:13:28 +02:00
Folkert de Vries
9f62e65892
Merge pull request #4406 from roc-lang/windows-effect-loop
Windows effects.roc
2022-10-29 00:29:35 +02:00
Folkert
751192ddfc
use timer in effect zig platform 2022-10-26 16:38:11 +02:00
Nick Gravgaard
3fe270ff88
Obvious refactor of TUI platform's event loop
Signed-off-by: Nick Gravgaard <nick@nickgravgaard.com>
2022-10-26 11:35:34 +01:00
Richard Feldman
9bb45f5856
Merge pull request #4381 from roc-lang/windows-rust-platforms
Windows rust platforms
2022-10-24 18:27:26 -07:00
Nick Gravgaard
6d02332b62
Change TUI platform to call view on initial model
Signed-off-by: Nick Gravgaard <nick@nickgravgaard.com>
2022-10-24 09:44:49 +01:00
Folkert
bd05186503
update the rust platform 2022-10-23 20:06:31 +02:00
Brendan Hansknecht
7bbf1fb9c5
fix examples that are failing to build 2022-10-21 13:57:22 -07:00
Folkert de Vries
91947972b3
Merge pull request #4340 from roc-lang/update-examples-readme
update and simplify examples README
2022-10-18 13:47:55 +02:00
Anton-4
6b294bed81
Merge branch 'main' into benchmarks-to-nix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-18 13:43:09 +02:00
Anton-4
54ad5d3416
moved benchmarks to nix 2022-10-17 17:40:35 +02:00
Anton-4
3dad6aba7c
moved platform-switching 2022-10-17 15:22:20 +02:00
Anton-4
13cf67dc13
update and simplify examples README
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-17 12:28:09 +02:00
Anton-4
0d58a7cf8a
example.org is better 2022-10-15 14:28:56 +02:00
Anton-4
eb727bd8b0
fixed links, minimal exceptions
Replaced lorem ipsum links with links to roc-lang. All exceptions added are due to problems with those sites and their interaction with programs like curl
2022-10-15 14:25:03 +02:00
Anton-4
f7dd5ca708
replace random links with roc-lang.org
random links are generated by the lorem ipsum generator, we don't want to allow a bunch of random links in the repo for security purposes.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-15 12:21:59 +02:00
Richard Feldman
5dafad506e
Merge pull request #4240 from roc-lang/list-growth
List growth
2022-10-08 23:58:49 -07:00
Richard Feldman
d28445666b
Merge pull request #4265 from cjduncana/from-result
Add the `fromResult` function to the `Task` module
2022-10-08 23:12:44 -07:00
Jan Van Bruggen
d6114721f5
Merge pull request #4234 from roc-lang/add_Stdout.write
Add newline-less `Stdout.write` & `Stderr.write` to `cli-platform`
2022-10-08 22:26:46 -06:00
Jan Van Bruggen
158759ac47
Add Stderr.write to cli-platform 2022-10-08 20:50:25 -06:00
Jan Van Bruggen
b5afb27257
Add Stdout.write to cli-platform 2022-10-08 20:34:14 -06:00
Jan Van Bruggen
922ee41a26
Sort positionals help above options help 2022-10-08 20:31:07 -06:00
Jan Van Bruggen
1633df447f
Eliminate the word "positional" from arg parsing API 2022-10-08 20:31:07 -06:00
Jan Van Bruggen
eb02fb1e52
Fix typo 2022-10-08 20:31:07 -06:00
Jan Van Bruggen
da2c54580e
Expand abbreviations 2022-10-08 20:31:05 -06:00
Jan Van Bruggen
a39fc076d3
Rename non-positional "arg"/"flag" to "option" 2022-10-08 20:30:43 -06:00