Commit graph

23099 commits

Author SHA1 Message Date
Anton-4
f30811baac
Merge pull request #4949 from roc-lang/update_tutorial
update tutorial basic-cli release
2023-01-23 22:07:47 +01:00
Ayaz Hafiz
59144f6e29
Unused var 2023-01-23 14:37:49 -06:00
Ayaz Hafiz
695b2e6363
Fix a bug by not recording normalized layouts 2023-01-23 14:37:49 -06:00
Ayaz Hafiz
7169d0974d
Add support for interning normalized recursive layouts 2023-01-23 14:37:49 -06:00
Ayaz Hafiz
8750127111
Begin support for looping-back recursive pointers to their source layouts 2023-01-23 14:37:48 -06:00
Anton-4
8e756d59d5
excepetion for cli docs link 2023-01-23 20:14:38 +01:00
Anton-4
6d115af11a
update tutorial basic-cli release 2023-01-23 20:11:32 +01:00
Anton-4
bf237765a8
replace wget with curl 2023-01-23 18:58:32 +01:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00
Anton-4
a4cdf587c7
support www/build.sh on macos 2023-01-23 18:10:41 +01:00
Anton-4
a30a4e36ed
Merge pull request #4944 from roc-lang/nightly_folder_adjustments
new nightly folder structure
2023-01-23 17:05:57 +01:00
Anton-4
be25da70b3
new nightly folder structure 2023-01-23 15:12:47 +01:00
Joshua Warner
303e5bceb3
Fix tuple accessor type printing 2023-01-22 13:22:39 -08:00
Joshua Warner
de828416bf
Initial implementation of tuples in type checking
This leaves in place a bunch of TODOs and likely many bugs - notably, I haven't tested codegen/layout at all here.
2023-01-22 12:40:44 -08:00
Ayaz
25f1d8d54f
Merge pull request #4942 from JTeeuwissen/typo
fixed typo
2023-01-22 13:52:04 -06:00
Ayaz
adaedf8c88
Merge pull request #4941 from JTeeuwissen/main
values_mut
2023-01-22 10:11:59 -06:00
J.Teeuwissen
b8f9684a01
fixed typo 2023-01-22 15:31:02 +01:00
J.Teeuwissen
28c18aa211
values_mut 2023-01-22 15:28:36 +01:00
Folkert de Vries
608ee9ebb5
Merge pull request #4918 from roc-lang/surgical-linker-cleanup
surgical linker: remove jump slot relocations and update static symbols
2023-01-22 11:52:03 +01:00
Folkert de Vries
04f6d2a2ed
Merge pull request #4928 from roc-lang/i4919
Record changed variables if any nested variable has changed
2023-01-21 23:46:10 +01:00
Anton-4
2e864992e1
Merge pull request #4939 from roc-lang/benchmark_tip
added benchmark tip
2023-01-21 19:55:31 +01:00
Ayaz Hafiz
f6da8275ec
Record changed variables if any nested variable has changed
When we unify variables in mono, we must invalidate the sections of the
layout cache reached by those variables. Previously we did this by
recording changed variables as those that were `merge`d. However this is
not enough; we must also record all the parent types they came from. The
reason is we may have something like

```
Alias (Foo, a) ~ Alias (Bar, U8)
```

where we will merge `a = U8` but we do not merge the aliases.

Closes #4919
2023-01-21 12:37:21 -06:00
Ayaz Hafiz
d4e8fe81cb
Update mono tests 2023-01-21 12:37:10 -06:00
Ayaz Hafiz
bfb7bc39a7
Register top-level accessors as functions 2023-01-21 12:37:09 -06:00
Ayaz Hafiz
f0ab9f77ca
Don't mark accessors as thunks 2023-01-21 12:37:09 -06:00
Ayaz Hafiz
6b491c617e
Store def name on accessor functions 2023-01-21 12:37:09 -06:00
Ayaz Hafiz
36f8ed6478
Rip out polymorphic expression compilation
We no longer need this except for number literals, which are simple to
handle.
2023-01-21 12:37:09 -06:00
Anton-4
ff30dfaf9c
use basic-cli 0.2.0 2023-01-21 19:06:06 +01:00
Folkert de Vries
814ce12d9a
Merge pull request #4938 from roc-lang/nix-cleanup-job
added nix store gc job
2023-01-21 19:02:50 +01:00
Anton-4
9c808306e8
Merge branch 'main' of github.com:roc-lang/roc into surgical-linker-cleanup 2023-01-21 19:02:49 +01:00
Anton-4
cc67c75d39
update to rm2 2023-01-21 19:02:40 +01:00
Anton-4
6496b3695e
added benchmark tip 2023-01-21 18:11:05 +01:00
Anton-4
d7c458a9ac
dont run on PR 2023-01-21 17:20:05 +01:00
Richard Feldman
aa9522a26f
Merge pull request #4933 from roc-lang/dependabot/cargo/bumpalo-3.11.1
Bump bumpalo from 3.11.0 to 3.11.1
2023-01-21 11:00:50 -05:00
Richard Feldman
a1c8dab83b
Merge pull request #4935 from roc-lang/dependabot/cargo/ci/benchmarks/bench-runner/bumpalo-3.12.0
Bump bumpalo from 3.7.0 to 3.12.0 in /ci/benchmarks/bench-runner
2023-01-21 10:59:56 -05:00
dependabot[bot]
81090f9991
Bump bumpalo from 3.7.0 to 3.12.0 in /ci/benchmarks/bench-runner
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.7.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.7.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:59:45 +00:00
Richard Feldman
6bdd51502d
Merge pull request #4936 from roc-lang/dependabot/cargo/examples/gui/platform/bumpalo-3.12.0
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/platform
2023-01-21 10:58:44 -05:00
Richard Feldman
03d8720879
Merge pull request #4937 from roc-lang/dependabot/cargo/examples/gui/breakout/platform/bumpalo-3.12.0
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/breakout/platform
2023-01-21 10:58:27 -05:00
Anton-4
a1678a95f4
added nix store gc job 2023-01-21 16:38:35 +01:00
dependabot[bot]
8801c147cb
Bump bumpalo from 3.11.0 to 3.11.1
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:06:17 +00:00
dependabot[bot]
f93e03f4e3
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:05:33 +00:00
dependabot[bot]
de34176e63
Bump bumpalo from 3.9.1 to 3.12.0 in /examples/gui/breakout/platform
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:05:33 +00:00
Folkert de Vries
541c66be7f
Merge pull request #4934 from roc-lang/dependabot/cargo/examples/cli/cli-platform/bumpalo-3.12.0
Bump bumpalo from 3.11.0 to 3.12.0 in /examples/cli/cli-platform
2023-01-21 16:04:18 +01:00
Anton-4
21f25bc1e8
Merge pull request #4906 from lukewilliamboswell/parser-package
Parser package and basic example
2023-01-21 15:59:49 +01:00
Folkert
3f72bc7222
clippy 2023-01-21 15:58:33 +01:00
Folkert
8442be824b
List.reserve: load spare from symbol, don't use a local 2023-01-21 15:57:10 +01:00
Folkert
52b283edd4
roc_std: don't throw away capacity after appending slice 2023-01-21 15:57:10 +01:00
Ahmad Sattar
312997f1c6
Add List.withCapacity implementation for x86
Uses the zig builtin `listWithCapacity`
2023-01-21 15:57:10 +01:00
Anton-4
3a81fe6e86
Merge remote-tracking branch 'upstream/main' into parser-package 2023-01-21 11:51:57 +01:00
Richard Feldman
d57cb50425
Merge pull request #4909 from roc-lang/list-concat-check-capacity
use capacity instead of length in list deinit
2023-01-20 18:21:17 -05:00