Commit graph

23468 commits

Author SHA1 Message Date
Folkert
3417a0e059
fix silent merge request wrt record accessors 2023-01-25 00:02:19 +01:00
Ayaz
ad84e02abf
Merge pull request #4950 from roc-lang/keep-recptr-index
Initial support for linking recursive pointer layouts back to their source layouts
2023-01-24 14:42:00 -06:00
Folkert de Vries
8e5efe67b4
Merge pull request #4912 from roc-lang/remove-polymorphic-expression-compilation
Rip out polymorphic expression compilation
2023-01-24 21:35:08 +01:00
Folkert de Vries
7aaf0f3822
Merge pull request #4916 from roc-lang/rust1_65
upgrade to rust 1.65 and clippy fixes
2023-01-24 14:14:10 +01:00
Anton-4
91c0a6a7a1
aarch64->arm64
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-24 14:08:10 +01:00
Anton-4
188b1c09c1
remove rustc --version
this can cause problems with macos permissions

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-24 13:32:41 +01:00
Anton-4
2c70613572
skip phantom_polymorphic_record
when upgrading to rust 1.65 a possibly pre-existing error was revealed for this test: (signal: 11, SIGSEGV: invalid memory reference)

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-24 12:17:01 +01:00
Brian Carroll
ac45fa2bba
Merge pull request #4683 from roc-lang/gen-wasm-shr-128
gen_wasm: Implement u128 right shift by delegating to compiler_rt
2023-01-24 00:36:27 +00:00
Ayaz Hafiz
7f284a753b
Lints 2023-01-23 17:09:05 -06:00
Ayaz Hafiz
8ad185fd1a
opaque pointers fit in a register in x86 2023-01-23 17:08:47 -06:00
Brian Carroll
5179057fc5
gen_wasm: implement NumIntCast for i128 2023-01-23 22:39:24 +00:00
Brian Carroll
a249e14ee5
builtins: restore nicer hash code for Dict 2023-01-23 22:39:24 +00:00
Ayaz
a7c415dc35
Merge pull request #4940 from joshuawarner32/tuple-solve
Initial implementation of tuples in type checking
2023-01-23 16:25:35 -06:00
Ayaz Hafiz
efd7d71dc4
Use Layout::NAKED_RECURSIVE_PTR and update comments 2023-01-23 16:10:54 -06:00
Brian Carroll
28d6d000ec
gen_wasm: Implement u128 right shift by delegating to compiler_rt 2023-01-23 22:07:40 +00:00
Ayaz Hafiz
8edbd3b378
Eliminate uses of RECURSIVE_PTR directly 2023-01-23 16:04:55 -06:00
Folkert de Vries
0b1ee3faeb
Merge pull request #4931 from thehabbos007/list-with-capacity
gen_dev: x86 Add `List.withCapacity` implementation
2023-01-23 23:00:35 +01:00
Ayaz Hafiz
37d9307fbf
Call insert_recursive for union layouts 2023-01-23 15:40:40 -06:00
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