Skip to content

Commit

Permalink
Update quick reference guide for chapel 2.0 (chapel-lang#24747)
Browse files Browse the repository at this point in the history
Updates the [Chapel Quick
Reference](https://chapel-lang.org/docs/main/language/reference.html) to
reflect the current state of the language with Chapel 2.0.

My goal with these edits was to remove all deprecated/removed features.
This document does still have a number of unstable features like
`dmapped` and associative/sparse domains.

Edits Made:
- fixed single statement return, replaced with `do return`
- removed variable sized bools
- fixed formal argument intents
- fixed method definitions
- use `blockDist` instead of `block` for domain maps
- remove '$' from sync example
- rewrite sync example to not rely on implicit reads/writes
- remove single example

Note to reviewer: as this is a PDF and docx, the diff is not useful.
- [previous
quickReference.pdf](https://github.com/chapel-lang/chapel/files/14842270/quickReference.pdf)
- [edited
quickReference.pdf](https://github.com/chapel-lang/chapel/files/14842263/quickReference.pdf)

[Reviewed by @vasslitvinov]
  • Loading branch information
jabraham17 authored Apr 3, 2024
2 parents 7b12803 + 654467c commit 63a9a86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 0 deletions.
Binary file modified doc/rst/language/quickReference.docx
Binary file not shown.
Binary file modified doc/rst/language/quickReference.pdf
Binary file not shown.

0 comments on commit 63a9a86

Please sign in to comment.