Richard Feldman
220c362671
Merge remote-tracking branch 'origin/main' into repl
2022-10-31 20:49:28 -04: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
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
Richard Feldman
5110727795
Drop some unnecessary parens
2022-10-30 02:49:54 -04: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
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
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
Ayaz
ea24e295e3
Merge pull request #4252 from roc-lang/dependabot/cargo/examples/gui/breakout/platform/crossbeam-utils-0.8.12
...
Bump crossbeam-utils from 0.8.6 to 0.8.12 in /examples/gui/breakout/platform
2022-10-08 09:48:10 -05:00
dependabot[bot]
7d1cf8f6a8
Bump crossbeam-utils in /examples/gui/breakout/platform
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.6 to 0.8.12.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.6...crossbeam-utils-0.8.12 )
---
updated-dependencies:
- dependency-name: crossbeam-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 09:48:11 +00:00
dependabot[bot]
c78666b399
Bump regex from 1.5.4 to 1.6.0 in /examples/gui/breakout/platform
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.6.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 09:48:10 +00:00
Jan Van Bruggen
8ada13cc3b
Merge pull request #4015 from roc-lang/simplify_examples
...
Drastically simplify examples directory
2022-10-08 03:46:12 -06:00
Brendan Hansknecht
f9c87d9190
add missing new line
2022-10-07 17:11:51 -07:00
Ayaz
fae90c9fd2
Merge pull request #4187 from roc-lang/ranged-char-literal
...
Single-quote literals behave like ranged numbers
2022-10-07 15:05:09 -05:00
Brendan Hansknecht
0cfaa9213e
misc git ignore
2022-10-07 08:58:50 -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
Ayaz
90dacb2085
Merge pull request #4130 from roc-lang/arg-parser-positional-arg
...
Support positional args in CLI arg parser
2022-10-07 01:00:08 -05:00
Jan Van Bruggen
07a66f4962
Fix positionaConfigs
typo
2022-10-06 23:53:51 -06:00
Marcos Prieto
0fa8658ede
Expose Up & Down in Game.KeyCodes
2022-10-06 10:54:52 +02:00
Marcos Prieto
a455f527cd
Expose more fields on Game.Text
...
- Expose color
- Expose size
- Expose left & top
2022-10-06 10:54:35 +02:00
Ayaz Hafiz
811c8554ac
Simplify Parser example
2022-10-05 17:28:01 -05:00
Ayaz Hafiz
dea7661068
Have Num.shift*By
functions shift by a U8
...
https://roc.zulipchat.com/#narrow/stream/231635-compiler-development/topic/casual.20conversation/near/302305020
2022-10-04 12:28:33 -05:00
Anton-4
dacf542942
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
2022-10-04 15:01:25 +02:00
Richard Feldman
a3ee6b22af
Merge pull request #4097 from roc-lang/better-default-importing
...
Improve how builtin modules and their types are imported
2022-10-02 00:25:32 -07:00