Jan Van Bruggen
f967466346
Rephrase "your machine" to "the current machine"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
431455dd1b
Rephrase web/terminal-related "platform" to "environment"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
2f0df1d64d
Rephrase "cross-platform" to "cross-target"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
4625a0a869
Rephrase CPU-related "platform"/"host" to "target"/"your machine"
2022-09-11 10:25:02 -06:00
Jan Van Bruggen
5717f698d8
Rename internal precompiled
flag to prebuilt
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
68be131bd7
Rephrase "precompiled platform" to "prebuilt platform"
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
50a8cff460
Rephrase "host-application linking" to "platform-..."
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
5663a1d9f9
Rephrase "precompiled host" to "precompiled platform"
...
This is for clarity to Roc app developers, for whom "host" is not
necessarily in their Roc vocabulary. Additionally, this phrasing
is simply more accurate.
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
97ce32ebde
Rephrase "Rebuilding host" to "Rebuilding platform"
2022-09-11 10:25:01 -06:00
Folkert
fbc5412161
ignore another test
2022-09-09 23:20:11 +02:00
Folkert
b8a5d69578
ignore another test on windows
2022-09-09 23:20:11 +02:00
Folkert
5d60ffeebf
disable a segfaulting test on windows
2022-09-09 23:20:11 +02:00
Folkert
57201db2f6
windows: temporarily do not drop gen_test results
2022-09-09 23:20:10 +02:00
Richard Feldman
3e1ca37b9e
Merge pull request #3950 from roc-lang/keep-dll-loaded
...
keep dll loaded
2022-09-09 14:19:35 -07:00
Jan Van Bruggen
aec2baefe3
Merge pull request #3997 from roc-lang/lint_markdown
...
Lint all markdown files once, guided by markdown-cli2
2022-09-09 09:27:31 -06:00
Jan Van Bruggen
30fec8eacd
Add missing h1
s
2022-09-09 01:12:32 -06:00
Jan Van Bruggen
8bbfd68621
Add language to all fenced code blocks
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
9cf7bdcccf
Use dashes for list markers
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md004
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
de53e04fe9
Use 0, 2, 4, 6... for list indentation levels
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md007
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
2cbfef490a
Fix space positioning typo
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
072a6bd002
Eliminate consecutive newlines
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
051059e151
Replace tabs with spaces
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md010
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3902668ce5
Add angle brackets to bare URLs
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md034
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3fa6e4c6ef
Ensure one trailing newline per .md
file
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md047
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3219178003
Ensure only one h1
per .md
file
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md025
2022-09-07 23:27:18 -06:00
Jan Van Bruggen
56b858e537
Remove extra spaces after list markers
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md030
2022-09-07 23:18:17 -06:00
Jan Van Bruggen
19052e7009
Align list indentation
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md005
2022-09-07 23:18:04 -06:00
Jan Van Bruggen
c45db47cad
Replace emphasis underscores with asterisks
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md049
2022-09-07 23:18:03 -06:00
Jan Van Bruggen
26a1abfea8
Add blank lines around lists
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032
2022-09-07 23:18:03 -06:00
Jan Van Bruggen
e3071a22b0
Add blank lines around headings
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md022
2022-09-07 23:18:03 -06:00
Jan Van Bruggen
6229eb54ca
Add blank lines around fenced code blocks
...
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031
2022-09-07 23:18:03 -06:00
Ayaz Hafiz
fc6561ecb6
Format string literals in patterns
2022-09-07 17:30:52 -05:00
Richard Feldman
474a31d7d6
Fix test
2022-09-07 15:36:32 -04:00
Brian Carroll
842a416d5a
Merge branch 'main' of github.com:rtfeldman/roc into markdown
2022-09-07 18:51:09 +01:00
Richard Feldman
3a12aa26cc
Use repr(transparent) in glue for newtype wrappers
2022-09-07 13:00:08 -04:00
Richard Feldman
5b787aa218
Glue newtype wrappers of recursive tag unions
2022-09-07 13:00:07 -04:00
Richard Feldman
a1f3036fc8
Reduce some allocations in glue
2022-09-07 13:00:07 -04:00
Folkert
af8f54bfbd
find and decode the dynamic relocations in .exe files
2022-09-07 17:52:19 +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
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
2762457e10
allow passing of RocStr by-value from a host
2022-09-07 12:14:13 +02: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