Commit Graph

27021 Commits

Author SHA1 Message Date
Brian Carroll
6a35d4b519
Merge pull request #6108 from roc-lang/list-map-argument-swap
fix dropping the wrong argument for List.map when it captures
2023-11-28 07:26:31 +00:00
Ayaz
7fdb593cda
Merge pull request #6099 from mulias/desugar-patterns
Desugar patterns
2023-11-27 16:09:49 -06:00
Folkert
32221a2e99
fix dropping the wrong argument for List.map when it captures 2023-11-27 23:02:44 +01:00
Anton-4
d5511a57e1
Merge pull request #6102 from roc-lang/fix-sccache-install
fix sccache install
2023-11-27 13:00:04 +01:00
Anton-4
176ea22965
fix sccache install
https://github.com/mozilla/sccache/issues/1988

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-27 11:43:00 +01:00
Elias Mulhall
0ccc71389a
move pattern desugar tests to test_mono 2023-11-26 20:26:43 -05:00
Elias Mulhall
d924125e6d
remove unnecessary comment 2023-11-26 20:26:42 -05:00
Elias Mulhall
439ce1143c
desugar patterns during canonicalization
Traverse pattern ASTs and desugar two cases

- Desugar optional record field default value expr. This expr might
  contain nodes that need to be desugared, such as binary operations.
  Failing to desugar this expr can cause an internal panic later in
  canonicalization.

- Discard SpaceBefore and SpaceAfter nodes so that patterns can be
  destructured over multiple lines. Keeping these nodes can cause an
  internal panic later in canonicalization. Fixes [1].

[1]: https://github.com/roc-lang/roc/issues/5653.
2023-11-26 20:26:42 -05:00
Elias Mulhall
0a48962abe
replace unreachable! with internal_error! in expr canonicalization
See https://github.com/roc-lang/roc/issues/2046
2023-11-26 20:26:34 -05:00
Richard Feldman
69b72866db
Merge pull request #6036 from roc-lang/plan
Add /plans
2023-11-25 19:51:21 -05:00
Richard Feldman
62964f68cf
Add ohne-makler link to #sponsors
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-11-25 13:54:24 -05:00
Anton-4
e337d3648a
Merge pull request #6091 from jakub-c/docs-add-border-to-nav
Add CSS border to module functions in docs nav
2023-11-25 18:39:59 +01:00
Jakub
7b08bf9486
Add CSS border to module functions in docs nav
Make side nav in docs more readable

Signed-off-by: Jakub <nawias@gmail.com>
2023-11-25 15:49:47 +01:00
Richard Feldman
3573b1e5b1
Link to roc-lang.org from README 2023-11-25 07:37:54 -05:00
Richard Feldman
b65aab7519
Link to /plans from /docs 2023-11-25 07:37:54 -05:00
Anton-4
668a9d363d
Merge pull request #6080 from roc-lang/macos-x64-dependencies
add macos x64 required dependencies
2023-11-25 01:53:43 +01:00
Anton-4
f6593c2960
Merge pull request #6078 from roc-lang/forgot-optimize
optimize basic platform builds
2023-11-25 01:51:27 +01:00
Richard Feldman
62cdfe356e
Merge pull request #6068 from lukewilliamboswell/lang-ref-abilities
Add Abilities language reference
2023-11-24 19:50:44 -05:00
Richard Feldman
56b2ee2be7
Merge pull request #6087 from roc-lang/sponsors-link
Linkify #sponsors on the homepage
2023-11-24 19:29:55 -05:00
Richard Feldman
6711602cfe
Linkify #sponsors on the homepage 2023-11-24 19:29:25 -05:00
Richard Feldman
073c1806ac
Merge pull request #6086 from roc-lang/add-ohne-makler
Add ohne-makler to sponsors
2023-11-24 19:28:44 -05:00
Richard Feldman
24dd66a112
Add ohne-makler to sponsors 2023-11-24 19:28:18 -05:00
Anton-4
8896fbda1a
add macos x64 required dependencies
llvm16 requires z3
I believe zstd is also required by llvm

Related to #6053

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-24 16:09:08 +01:00
Anton-4
531af18289
Merge pull request #6072 from lukewilliamboswell/at-token
Change `@` token an UpperIdent
2023-11-24 13:30:49 +01:00
Anton-4
5d27ee2c17
optimize basic platform builds 2023-11-24 12:14:36 +01:00
Luke Boswell
255847d2fe
cargo fmt 2023-11-24 09:57:06 +11:00
Luke Boswell
ee0811d5ed
typos 2023-11-24 09:55:50 +11:00
Luke Boswell
8240d237fa
initial Abilities language reference 2023-11-24 09:52:55 +11:00
Luke Boswell
57f7a79a52
change @ token an UpperIdent 2023-11-24 08:33:02 +11:00
Richard Feldman
3d8884a96d
Merge pull request #6047 from khalyomede/6045-docker-hub-official-image
6045-docker-hub-official-image
2023-11-22 21:47:42 -05:00
Richard Feldman
9e3fec9092
Merge pull request #6059 from stefanv/organize-llvm-build-instructions
Re-organize the LLVM build instructions
2023-11-22 21:46:55 -05:00
Richard Feldman
325b08b7e9
Merge pull request #6067 from roc-lang/add-chris-packett
Add Chris Packett to sponsors
2023-11-22 21:46:08 -05:00
Richard Feldman
3d9a08cfdc
Add Chris Packett to sponsors 2023-11-22 21:45:47 -05:00
Richard Feldman
f89ca6594b
Add Chris Packett to sponsors in README
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-11-22 21:43:42 -05:00
Stefan van der Walt
6a2ac5ac93 Clarify what to do with zig binary 2023-11-22 14:22:39 -08:00
Stefan van der Walt
6883c76935 Add prefix as suggested by @rtfeldman 2023-11-22 14:21:12 -08:00
Stefan van der Walt
7ae83b59d5 Clean up zig section 2023-11-22 14:21:12 -08:00
Stefan van der Walt
c1af12600f Re-organize the LLVM build instructions
- `zig` needs `lib` directory
- `llvm` needs development headers
- Keep installation instructions together
- Group by platform
- No longer split installation and debugging instructions
2023-11-22 14:21:12 -08:00
Anton-4
9e1b649438
PR trigger -> manual
No need to test the nightlies every PR, they only change once a day :p
2023-11-22 19:46:47 +01:00
Anton-4
c698216ec7
Merge branch '6045-docker-hub-official-image' of github.com:khalyomede/roc into 6045-docker-hub-official-image 2023-11-22 19:41:24 +01:00
Anton-4
6033733e49
ditch C platform deps 2023-11-22 19:37:49 +01:00
khalyomede
98b988ad42 #6045 add Debian 10 (Buster) compatible Docker image 2023-11-22 16:54:15 +01:00
khalyomede
6a18626b82 #6045 add put roc version first (before os name/version) 2023-11-22 16:29:32 +01:00
khalyomede
61bbb4c4e3 #6045 add Debian (latest) Docker image 2023-11-22 16:25:58 +01:00
khalyomede
b3fd2a9c5b #6045 add Debian 12 (Bookworm) compatible Docker image 2023-11-22 16:22:18 +01:00
khalyomede
3b1cf62ad2 #6045 add Ubuntu latest compatible Docker image 2023-11-22 15:44:32 +01:00
khalyomede
a134484853 #6045 add Ubuntu 20.04 compatible Docker image 2023-11-22 15:39:36 +01:00
Richard Feldman
5e911f14d8
Merge pull request #6057 from lsculv/record-field-error-typo
Fix typo 'I trying' -> 'I am trying'
2023-11-22 09:12:30 -05:00
Anton-4
d72621ac03
Merge pull request #5983 from HajagosNorbert/get-pointer
mono::ir::Expr::UnionFieldPtrAtIndex -> GetElementPointer
2023-11-22 14:59:37 +01:00
Richard Feldman
f434c5c872
Fix a typo
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-11-22 08:25:24 -05:00