Commit Graph

19356 Commits

Author SHA1 Message Date
Anton-4
31891fa4c4
temp remove ubuntu 2022-09-07 17:33:06 +02:00
Brendan Hansknecht
31eb03ab22
Merge pull request #3963 from roc-lang/elf-dummy-ex-nihilo
Elf dummy ex nihilo
2022-09-07 15:31:50 +00:00
Anton-4
20519adb1c
indent fix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-07 17:31:27 +02:00
Anton-4
cd6e3c7d2d
now also testing ubu20.04, ubu22.04 2022-09-07 17:29:23 +02:00
Anton-4
ce169970cc
trigger on PR, temp remove others 2022-09-07 17:23:27 +02:00
Folkert de Vries
828e3b05c5
Merge pull request #3985 from roc-lang/pass-string-byval-host
allow passing of RocStr by-value from a host
2022-09-07 16:23:47 +02:00
Folkert
6fff224c77
PE cleanup after review elsewhere 2022-09-07 14:07:52 +02:00
Folkert
8a2aa076ee
cleanup 2022-09-07 14:07:52 +02:00
Folkert
c46f8a0073
create a dummy elf .so from scratch 2022-09-07 14:07:52 +02:00
Folkert de Vries
8bbeb34792
Merge pull request #3981 from roc-lang/use-copy-table
Cache variables sent to a module's external specializations in mono
2022-09-07 12:28:17 +02:00
Folkert de Vries
83d45fa859
Merge pull request #3982 from roc-lang/i3955
Lose rigidity of annotated optional fields before generalization
2022-09-07 12:20:53 +02:00
Folkert de Vries
bc00b00834
Merge pull request #3983 from roc-lang/i3908
Correctly perform record updates that come from thunks
2022-09-07 12:19:29 +02:00
Folkert
2762457e10
allow passing of RocStr by-value from a host 2022-09-07 12:14:13 +02:00
Jan Van Bruggen
e79543aac7
Merge pull request #3984 from roc-lang/reword_examples_to_apps
Reword "for examples" to "for apps" in installation guides
2022-09-07 02:19:30 -06:00
Jan Van Bruggen
c62f9ea522
Add explanations to installation guide sections 2022-09-06 23:24:24 -06:00
Jan Van Bruggen
7f1d9bf153
Reword "for examples" to "for apps" in installation guides 2022-09-06 23:15:00 -06:00
Ayaz Hafiz
eebe5234f6
Correctly perform record updates that come from thunks
Closes #3908
2022-09-06 18:07:22 -05:00
Ayaz Hafiz
c2452ff751
Lose rigidity of annotated optional fields before generalization
We have this idea of "rigid optional" fields to annotate record fields
that must necessarily be optional. That avoids the admission of programs
we cannot faithfully compile, like

```
f : {a: Str, b ? U64}
f = {a: "b", b: 1}
```

We want to lose the rigidity restriction when a generalized symbol is
used as at a specialized site; for example it should be possible to call
`f : {x ? Str} -> {}` with both `{}` and `{x : Str}`, neither of which
have a rigidly optional field unless they were to be annotated.

Prior to this commit we would loosen the rigidity restriction upon
specialization of a generalized type at a use site. However, what we
really want to do is apply the loosening during calculation of
generalization. The reason is that otherwise, we must make types that
would be ground (like `{x ? Str} -> {}`) generalized just for the sake
of the optional field annotation. But since the rigidity constraint is
irrelevant after an annotated body has been checked, we can loosen the
rigidity restriction then, which conveniently happens to coincide with
the generalization calculation.

Closes #3955
2022-09-06 17:44:04 -05:00
Ayaz Hafiz
58dd58aa5d
Clippy 2022-09-06 15:53:04 -05:00
Ayaz Hafiz
4ed579d7a6
Use default instead of new 2022-09-06 15:48:59 -05:00
Ayaz Hafiz
a3f3771326
Add the storage module 2022-09-06 14:36:36 -05:00
Ayaz Hafiz
53e1551cd1
Move external specializations storage subs into its own struct 2022-09-06 14:33:41 -05:00
Folkert de Vries
1a9a0d5d01
Merge pull request #3974 from roc-lang/dependabot/cargo/either-1.8.0
remove either
2022-09-06 21:24:16 +02:00
Ayaz Hafiz
882d589d5f
Basic caching of variables saved into storage subs 2022-09-06 14:11:03 -05:00
Ayaz Hafiz
265c1c058f
Loosen bound on VecMap from-iterator 2022-09-06 14:06:41 -05:00
Folkert de Vries
bdbaa9dda2
Merge pull request #3956 from roc-lang/refactor-surgery
minor cleanup of surgery
2022-09-06 19:17:02 +02:00
Folkert
d78be3f863
remove either dependency 2022-09-06 18:52:43 +02:00
dependabot[bot]
ee81b73ea5
Bump either from 1.7.0 to 1.8.0
Bumps [either](https://github.com/bluss/either) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/bluss/either/releases)
- [Commits](https://github.com/bluss/either/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: either
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 16:50:25 +00:00
Folkert de Vries
6dc86513a1
Merge pull request #3973 from roc-lang/dependabot/cargo/libc-0.2.132
Bump libc from 0.2.126 to 0.2.132
2022-09-06 18:48:36 +02:00
Anton-4
571a3bfe13
Merge pull request #3976 from roc-lang/macos-nightly-date-sha
auto set date and SHA in filename macos nightly
2022-09-06 18:39:44 +02:00
Anton-4
1b772b242c
Merge pull request #3975 from aeons/patch-1
Fix typo
2022-09-06 14:55:48 +02:00
Folkert de Vries
b8f6d84dc3
Merge pull request #3928 from roc-lang/windows-surgical-dll
windows surgical dll
2022-09-06 13:19:23 +02:00
Anton-4
48f163ab18
auto set date and SHA in filename
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-06 10:57:49 +02:00
Bjørn Madsen
d1690a9a3c
Fix typo
Signed-off-by: Bjørn Madsen <bm@aeons.dk>
2022-09-06 10:18:49 +02:00
Brian Carroll
fda33fc70d
Fix CLI test 2022-09-06 09:01:48 +01:00
dependabot[bot]
095505ee15
Bump libc from 0.2.126 to 0.2.132
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.126 to 0.2.132.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.132)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 07:27:05 +00:00
Anton-4
3f3de74250
Merge pull request #3970 from roc-lang/dependabot/cargo/serde_json-1.0.85
Bump serde_json from 1.0.82 to 1.0.85
2022-09-06 09:26:35 +02:00
Anton-4
8de43887b5
Merge pull request #3969 from roc-lang/dependabot/cargo/dircpy-0.3.13
Bump dircpy from 0.3.12 to 0.3.13
2022-09-06 09:25:45 +02:00
Anton-4
322ae187bc
Merge branch 'main' into markdown
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-06 08:31:49 +02:00
Anton-4
d2454db1c0
.typos.toml->typos.toml 2022-09-06 08:30:24 +02:00
Jan Van Bruggen
2c8ecbb1d1
Ignore "Lorem ipsum" text & vendor code during spellchecking 2022-09-05 21:36:10 -06:00
Richard Feldman
eac04dfbc7
Merge pull request #3957 from roc-lang/dev-backend-bitwise-logical
dev backend: bitwise logical operators
2022-09-05 20:28:56 -07:00
Richard Feldman
f2d8dc1d35
Merge pull request #3967 from roc-lang/editor-idea-logbook
logbook plugin idea
2022-09-05 17:59:26 -07:00
Brian Carroll
6fe9466b0d
static-site-gen: add some CSS 2022-09-05 21:13:37 +01:00
Brian Carroll
c21a6cb67c
static-site-gen: New example using lorem ipsum content 2022-09-05 20:46:53 +01:00
Brian Carroll
3b7b91fa47
Merge pull request #3891 from roc-lang/nightly-macos-x86
nightly macos x86 new upload
2022-09-05 19:36:17 +01:00
Brian Carroll
cc16ac2955
Merge pull request #3968 from roc-lang/macos_x86_nightly_test
Macos x86_64 nightly testing
2022-09-05 19:35:29 +01:00
Brian Carroll
aeac8035c1
Delete example (open license is for markdown not for the site) 2022-09-05 18:43:32 +01:00
Jan Van Bruggen
1272503bec
Merge pull request #3943 from sandprickle/move-examples-3912
Move Platform Examples (3912)
2022-09-05 10:38:24 -06:00
Anton-4
50c7fced49
re-enable cron
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-05 16:08:58 +02:00