Folkert
dbd0d30893
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-10-30 15:57:07 +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
Folkert
b4878e5550
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-10-24 18:39:30 +02: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
Brendan Hansknecht
7bbf1fb9c5
fix examples that are failing to build
2022-10-21 13:57:22 -07:00
Richard Feldman
e6fd0c62fd
Do an explicit cast that doesn't make sense
...
I don't know why this is what the compiler wants,
given that the docs say it shouldn't need a cast,
but this is for some reason what the compiler wants.
2022-10-16 18:43:03 -04:00
Richard Feldman
bb1693556b
Drop some unnecessary imports
2022-10-16 18:40:17 -04:00
Folkert
f562d61505
int cast on macos
2022-10-16 18:32:55 +02:00
Folkert
19ea3489cb
provide more libc functions for the expect implementation
2022-10-12 20:59:18 +02: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
Christopher Duncan
70f5560f0e
Add the fromResult
function to the Task
module
2022-10-08 20:58:28 -04:00
Richard Feldman
03da41c060
Format CLI backtraces
2022-10-08 15:03:03 -04:00
Brendan Hansknecht
94c51f3998
add a backtrace to panics on the cli platform
2022-10-08 09:49:54 -07:00
Anton-4
c6ec3d5d30
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-10-07 16:00:32 +02:00
Anton-4
dacf542942
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-10-04 15:01:25 +02:00
Anton-4
0aa590dfe7
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-09-30 19:27:30 +02:00
Anton-4
eaacb86ad9
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-09-28 19:48:46 +02:00
Anton-4
1d9a751606
cli_run test fixes
2022-09-24 20:14:59 +02:00
Anton-4
0ddc69e066
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-09-24 16:49:50 +02: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
9d1dcc15c8
Consolidate interactive examples into one dir
2022-03-07 20:10:50 -07:00
Jan Van Bruggen
99c825aa99
Simplify example platform names
2022-03-07 19:59:29 -07:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl.
2022-03-06 11:52:25 -05:00
Richard Feldman
ef28dbad84
Drop unnecessary extern declaration
2022-02-27 21:08:08 -05:00
Tom Dohrmann
788c8a6af2
reimplement RocList
and RocStr
2022-02-23 16:02:13 +01:00
Jan Van Bruggen
f47dbb5171
Swap List.mapWithIndex arg1 args order to put the element first
2022-02-11 16:10:29 -07:00
Jan Van Bruggen
92e0f8714f
Swap List.repeat args order to put the list first
2022-02-11 16:10:29 -07:00
Richard Feldman
48bd267892
Merge branch 'trunk' into cleanup-cli-example
2022-02-05 20:53:55 -05:00
Richard Feldman
f49ae01d06
Drop an obsolete comment
2022-02-04 18:41:36 -05:00
Folkert
a44a99c6cf
add new Effect.roc files
2022-02-04 20:06:47 +01:00
Folkert
885500712c
remove old Effect module things
2022-02-03 23:55:02 +01:00
Folkert
6f9550d792
update cli example
2022-02-03 22:39:33 +01:00
Drew
227f06c4a5
Indent + remove old comments
2022-01-29 17:27:17 -06:00
Jan Van Bruggen
33e5ecf8ba
Manually format echo example to pass tests
2022-01-27 06:48:14 -07:00
Jan Van Bruggen
e36b94fc53
Add emoji to form example
2022-01-26 21:08:45 -07:00
Jan Van Bruggen
78be942918
Add emojis to echo example
2022-01-26 21:08:45 -07:00