Commit graph

20101 commits

Author SHA1 Message Date
Anton-4
a44f692563
Merge remote-tracking branch 'upstream/main' into list-walkBckwardsUntil 2022-10-08 19:55:47 +02:00
Anton-4
5b40cec4ab
Merge pull request #4253 from roc-lang/re-enable-benchmarks
re-enable benchmarks
2022-10-08 17:58:00 +02:00
Ayaz
25d60d20cd
Merge pull request #4123 from roc-lang/dependabot/cargo/strum_macros-0.24.3
Bump strum_macros from 0.24.2 to 0.24.3
2022-10-08 09:49:31 -05:00
Ayaz
df77d110dc
Merge pull request #4250 from roc-lang/dependabot/cargo/confy-fd069f0
Bump confy from `c6b6203` to `fd069f0`
2022-10-08 09:48:56 -05: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
Ayaz
48da710f4a
Merge pull request #4251 from roc-lang/dependabot/cargo/examples/gui/breakout/platform/regex-1.6.0
Bump regex from 1.5.4 to 1.6.0 in /examples/gui/breakout/platform
2022-10-08 09:47:53 -05:00
Anton-4
90530f51b4
re-enable benchmarks
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-08 12:47:57 +02:00
dependabot[bot]
59eeb43fa3
Bump strum_macros from 0.24.2 to 0.24.3
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: strum_macros
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 09:48:41 +00: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
dependabot[bot]
c3730f49e4
Bump confy from c6b6203 to fd069f0
Bumps [confy](https://github.com/rust-cli/confy) from `c6b6203` to `fd069f0`.
- [Release notes](https://github.com/rust-cli/confy/releases)
- [Commits](c6b6203928...fd069f062a)

---
updated-dependencies:
- dependency-name: confy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-08 09:47:54 +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
Prajwal S N
cbceeff902
builtin(list): implement List.walkBackwardsUntil
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2022-10-08 14:23:06 +05:30
Anton-4
fd42879dc4
Merge pull request #4194 from roc-lang/nix-flakes-install
installing nixFlakes is no longer necessary
2022-10-08 08:45:57 +02: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
Ayaz
7752ecc895
Merge pull request #4224 from roc-lang/is-zero-lowlevel
Implement Num.isZero as a low-level
2022-10-07 15:03:55 -05:00
Anton-4
1c58fd83b8
Merge pull request #4238 from roc-lang/macos-x86-nightly-fix
updated LLVM_SYS_130_PREFIX
2022-10-07 20:12:50 +02:00
Brian Carroll
cf467e9f11
Merge pull request #4235 from roc-lang/wasm-repl-empty-input
www: handle empty input in web REPL
2022-10-07 17:13:53 +01:00
Anton-4
722ece9d85
updated LLVM_SYS_130_PREFIX
I believe updates to the VM image used by github require this change

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-07 17:16:21 +02:00
Ayaz
addfa29a56
Merge pull request #4227 from snprajwal/list-expose-walktry
builtin(list): expose walkTry
2022-10-07 09:45:21 -05: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
f0786121fb
Merge pull request #4222 from roc-lang/explicit-imports-in-prelude
List dependencies in the stdlib explicitly rather than hard-coding
2022-10-07 02:39:54 -05:00
Brian Carroll
5ef7cb2750
www: handle empty input in web REPL 2022-10-07 08:26:31 +01: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
Ayaz
2cf1309326
Update crates/compiler/builtins/roc/List.roc
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-10-06 16:19:15 -05:00
Prajwal S N
0f96dddc25
builtin(list): expose walkTry
Fixes: #4168

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2022-10-07 00:03:18 +05:30
Anton-4
2986956929
serialize cli_platform cli_run tests 2022-10-06 20:14:51 +02:00
Anton-4
5de2661223
Merge pull request #4213 from marcospri/breakout-platform-text
Small updates to example/breakout platform
2022-10-06 16:34:54 +02:00
Brian Carroll
3c3e15a46c
Merge pull request #4225 from roc-lang/web-repl-dont-append-to-text-node
Web REPL: ensure we only try to append to DOM Elements, not text nodes
2022-10-06 11:29:40 +01: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
Brian Carroll
76a8a60547
Web REPL: ensure we only try to append to DOM Elements, not text nodes 2022-10-06 08:27:50 +01:00
Ayaz
a5a984ca45
Merge pull request #4217 from roc-lang/hashing-perf
Misc hashing perf
2022-10-05 20:00:46 -05:00
Ayaz Hafiz
d9207137e8
Implement Num.isZero as a low-level
This will be needed ahead of the `Eq` ability.

Closes #4223
2022-10-05 19:47:29 -05:00
Ayaz Hafiz
5416eb7cbf
List dependencies in the stdlib explicitly rather than hard-coding 2022-10-05 18:53:49 -05:00
Ayaz
0b57b00235
Merge pull request #4205 from roc-lang/more-hash-derivers
Support deriving `Hash` for inductive records
2022-10-05 17:30:02 -05:00
Ayaz Hafiz
262d13ffe7
Simplify char pattern matching in json parser 2022-10-05 17:28:02 -05:00
Ayaz Hafiz
7064d1c060
Gen test for char pattern matching 2022-10-05 17:28:01 -05:00
Ayaz Hafiz
9d91b9bc5a
Add reporting case for inferred char range type mismatch 2022-10-05 17:28:01 -05:00
Ayaz Hafiz
912cebc33d
Add tests for inferring char ranged number 2022-10-05 17:28:01 -05:00
Ayaz Hafiz
619cd2f629
Infer ranged number for chars in patterns 2022-10-05 17:28:01 -05:00
Ayaz Hafiz
811c8554ac
Simplify Parser example 2022-10-05 17:28:01 -05:00
Ayaz Hafiz
9054266a76
Simplify Json.roc 2022-10-05 17:28:01 -05:00
Ayaz Hafiz
178b634266
Treat single quote literals as ranged numbers for inference purposes 2022-10-05 17:28:00 -05:00
Ayaz
797763b5fa
Merge pull request #4216 from roc-lang/fix-envp
fix envp
2022-10-05 17:01:31 -05:00
Ayaz
4f1d7fca9a
Merge pull request #4218 from roc-lang/rollup-10-05
Misc bugfixes 10-05
2022-10-05 14:52:11 -05:00
Ayaz Hafiz
73210469db
Add tests for env var passing 2022-10-05 14:36:34 -05:00
Ayaz
596f14d173
Merge pull request #4203 from roc-lang/shift-signature
Have `Num.shift*By` functions shift by a `U8`
2022-10-05 13:26:36 -05:00
Ayaz Hafiz
2504dd7e12
Bump CI 2022-10-05 13:09:50 -05:00