Ayaz Hafiz
583829eaf5
Pass stepper function explicitly, for now
2022-08-15 11:11:30 -05:00
Ayaz Hafiz
29793fac32
Begin working on JSON record decoding
...
And we've hit a borrow panic 😍
2022-08-15 11:11:29 -05:00
Richard Feldman
3f950059b8
Glue for dictionaries
2022-08-15 10:59:58 -04:00
Richard Feldman
ec0e80f5d2
Add basic roc_std Dict and Set implementations
2022-08-15 10:59:58 -04:00
Richard Feldman
97fef48864
Improve RocList's Debug implementation
2022-08-15 10:59:58 -04:00
Richard Feldman
52dc1fb723
Clean up some trailing spaces
2022-08-15 10:59:58 -04:00
Richard Feldman
5c4d6d3dfc
Add todos for glue for Dict and Set
2022-08-15 10:59:58 -04:00
dependabot[bot]
4c6ad52c47
Bump indoc from 1.0.6 to 1.0.7
...
Bumps [indoc](https://github.com/dtolnay/indoc ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.6...1.0.7 )
---
updated-dependencies:
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 13:18:18 +00:00
dependabot[bot]
2dbb017403
Bump crossbeam from 0.8.1 to 0.8.2
...
Bumps [crossbeam](https://github.com/crossbeam-rs/crossbeam ) from 0.8.1 to 0.8.2.
- [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-0.8.1...crossbeam-0.8.2 )
---
updated-dependencies:
- dependency-name: crossbeam
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 13:16:53 +00:00
Ayaz
0d96f4fc7d
Merge pull request #3806 from roc-lang/dependabot/cargo/encode_unicode-1.0.0
...
Bump encode_unicode from 0.3.6 to 1.0.0
2022-08-15 08:16:49 -05:00
Ayaz
a6cdd3355f
Merge pull request #3807 from roc-lang/dependabot/cargo/dircpy-0.3.12
...
Bump dircpy from 0.3.10 to 0.3.12
2022-08-15 08:16:21 -05:00
dependabot[bot]
cd3e2c8d36
Bump hashbrown from 0.12.2 to 0.12.3
...
Bumps [hashbrown](https://github.com/rust-lang/hashbrown ) from 0.12.2 to 0.12.3.
- [Release notes](https://github.com/rust-lang/hashbrown/releases )
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.12.2...v0.12.3 )
---
updated-dependencies:
- dependency-name: hashbrown
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 05:30:58 +00:00
dependabot[bot]
7d174089ae
Bump dircpy from 0.3.10 to 0.3.12
...
Bumps [dircpy](https://github.com/woelper/dircpy ) from 0.3.10 to 0.3.12.
- [Release notes](https://github.com/woelper/dircpy/releases )
- [Commits](https://github.com/woelper/dircpy/commits )
---
updated-dependencies:
- dependency-name: dircpy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 05:30:48 +00:00
dependabot[bot]
be82551719
Bump encode_unicode from 0.3.6 to 1.0.0
...
Bumps [encode_unicode](https://github.com/tormol/encode_unicode ) from 0.3.6 to 1.0.0.
- [Release notes](https://github.com/tormol/encode_unicode/releases )
- [Changelog](https://github.com/tormol/encode_unicode/blob/master/RELEASES.md )
- [Commits](https://github.com/tormol/encode_unicode/compare/v0.3.6...v1.0.0 )
---
updated-dependencies:
- dependency-name: encode_unicode
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 05:30:40 +00:00
Ayaz
b2a8693316
Merge pull request #3787 from roc-lang/dependabot/cargo/wasm-bindgen-futures-0.4.32
...
Bump wasm-bindgen-futures from 0.4.31 to 0.4.32
2022-08-14 10:30:42 -05:00
Ayaz
010a650633
Merge pull request #3789 from roc-lang/dependabot/cargo/serial_test-0.9.0
...
Bump serial_test from 0.8.0 to 0.9.0
2022-08-14 10:30:16 -05:00
Ayaz
8e8fd063c0
Merge pull request #3790 from roc-lang/dependabot/cargo/bytemuck-1.11.0
...
Bump bytemuck from 1.10.0 to 1.11.0
2022-08-14 10:29:14 -05:00
Folkert de Vries
f2a6310137
Merge pull request #3735 from roc-lang/turn-on-abilities-wasm-tests
...
Turn abilities tests for wasm dev and wasm LLVM back on
2022-08-14 16:18:48 +02:00
Brian Carroll
fe0dad1136
Merge pull request #3772 from RossSmyth/Layouts
...
Fix some layout reprs
2022-08-14 10:50:48 +01:00
dependabot[bot]
936e80ff92
Bump bytemuck from 1.10.0 to 1.11.0
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/Lokathor/bytemuck/releases )
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-14 09:18:21 +00:00
dependabot[bot]
a43ee0dfe2
Bump serial_test from 0.8.0 to 0.9.0
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-14 09:18:07 +00:00
dependabot[bot]
cd0a26c2c2
Bump wasm-bindgen-futures from 0.4.31 to 0.4.32
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.31 to 0.4.32.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-14 09:17:19 +00:00
Ayaz
38a7b6cef0
Merge pull request #3782 from roc-lang/dependabot/cargo/nonempty-0.8.0
...
Bump nonempty from 0.7.0 to 0.8.0
2022-08-13 13:36:44 -07:00
Ayaz
11f0de21e1
Merge pull request #3781 from roc-lang/dependabot/cargo/insta-1.18.2
...
Bump insta from 1.15.0 to 1.18.2
2022-08-13 13:36:32 -07:00
Ayaz
dd011893c9
Merge pull request #3779 from roc-lang/dependabot/cargo/pulldown-cmark-0.9.2
...
Bump pulldown-cmark from 0.9.1 to 0.9.2
2022-08-13 13:36:09 -07:00
Ayaz
931b7da296
Merge pull request #3744 from roc-lang/i2894
...
Transient captures in closures, and captures between mutually recursive defs
2022-08-13 12:48:20 -07:00
Ayaz Hafiz
c0969e5ff8
Reuse allocations in fixing closures
2022-08-13 10:38:53 -07:00
Ayaz Hafiz
d19c9107b2
swap_remove rather than removing in place
2022-08-13 10:30:58 -07:00
Ayaz Hafiz
7215acdbac
Ensure that field layouts passed to closure unwrapping are sorted
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
9ffe6eb6dd
Print function argument layouts in pretty mode
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
991b99250c
Clippy
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
6bcd682dde
Support captures between mutually recursive closures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
4b55416ca1
Add test for outer scope transient captures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
5ead673cfc
Add gen tests for transient closure captures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
e97ce32b88
Fixup transient closure captures during canonicalization
...
Closure captures can be transient, but previously, we did not handle
that correctly. For example, in
```
x = ""
inner = \{} -> x
outer = \{} -> inner {}
```
`outer` captures `inner`, but `inner` captures `x`, and in the body of
`outer`, we would not construct the closure data for `inner` correctly
before calling it.
There are a couple ways around this.
1. Update mono to do something when we are passed the captured
environment of a closure, rather than attempting to construct a
call-by-name's captured environment before callign it.
2. Fix-up closures during canonicalization to remove captured closures
that themselves capture, and replace them with their captures.
This patch does (2), since (1) is much more involved and is not likely
to bring a lot of wins. In general I think it's reasonable to expect
captured environments, even if transient, to be fairly shallow, so I
don't think this will produce very large closure environments.
Closes #2894
2022-08-13 10:25:17 -07:00
Folkert
d78fc47b7a
use bindgen binary again
2022-08-13 19:06:23 +02:00
Folkert
ed055a0bd8
fix compile error in test
2022-08-13 19:05:45 +02:00
dependabot[bot]
b41d5990c7
Bump nonempty from 0.7.0 to 0.8.0
...
Bumps [nonempty](https://github.com/cloudhead/nonempty ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/cloudhead/nonempty/releases )
- [Commits](https://github.com/cloudhead/nonempty/commits )
---
updated-dependencies:
- dependency-name: nonempty
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 16:49:37 +00:00
dependabot[bot]
7ab742dd1a
Bump insta from 1.15.0 to 1.18.2
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.15.0 to 1.18.2.
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.15.0...1.18.2 )
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 16:49:28 +00:00
dependabot[bot]
55a9031ec1
Bump pulldown-cmark from 0.9.1 to 0.9.2
...
Bumps [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases )
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.9.1...v0.9.2 )
---
updated-dependencies:
- dependency-name: pulldown-cmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 16:49:08 +00:00
dependabot[bot]
0bb096c117
Bump palette from 0.6.0 to 0.6.1
...
Bumps [palette](https://github.com/Ogeon/palette ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/Ogeon/palette/releases )
- [Changelog](https://github.com/Ogeon/palette/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Ogeon/palette/commits )
---
updated-dependencies:
- dependency-name: palette
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 16:48:58 +00:00
Folkert
4bb653d389
bump the wasm function stack size in our fork of wasm3
2022-08-13 14:37:02 +02:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout
2022-08-13 03:49:12 -04:00
Richard Feldman
99a22d6bbd
Merge pull request #3747 from roc-lang/i2419
...
Add regression tests for #2419
2022-08-12 19:53:53 -04:00
Richard Feldman
6acc1a2544
Merge pull request #3765 from roc-lang/dependabot/cargo/crates/compiler/parse/fuzz/im-15.1.0
...
Bump im from 14.3.0 to 15.1.0 in /crates/compiler/parse/fuzz
2022-08-12 19:52:18 -04:00
Ayaz Hafiz
89457f9faf
Add Wasm32Result for Infallible
2022-08-12 15:42:20 -07:00
Ayaz Hafiz
aa26a0da44
Add regression tests for #2419
...
Closes #2419
2022-08-12 15:42:19 -07:00
Folkert de Vries
0fab77af99
Merge pull request #3751 from roc-lang/relax-clone
...
Don't require `Clone` on as many `RocList` methods
2022-08-13 00:11:23 +02:00
Folkert
f8fba56b0a
improve how we deal with the expect memory buffer
2022-08-13 00:01:05 +02:00
Richard Feldman
32f63f46a6
Merge pull request #3739 from roc-lang/ruby-interop
...
Ruby interop example
2022-08-12 17:17:27 -04:00