Ben Harshbarger
7b3b415b41
[chapel/en] Style and example changes for Chapel ( #2696 )
...
* Updates for the Chapel language tour
The Chapel repository includes variant of this 'language tour', which
was recently modified in various ways:
- *lots* of style/formatting changes more in-line with other programs in
the Chapel repo
- Additional examples of where-clauses and generics
- fixes an incorrect example of a reversed range
- improvements to comments
* Remove backticks left over from rst
* Keep text below 80, correct build steps
2017-04-03 21:29:17 +02:00
Samantha McVey
ff3d2d1784
Set bf, chapel, d and dart to use the language's highlighting
...
Previously were using other languages with similar syntax, but now
we have Pygments.
2016-12-31 15:25:24 -08:00
Zach Latta
484300f1db
Fix capitalization of GitHub
2016-02-23 16:12:44 -08:00
Jana Trestikova
8e4d294227
Fix typos
...
undestanding -> understanding
uninterupted -> uninterrupted
2015-10-24 00:01:32 +02:00
Tim Heaney
6f2d381559
Typo: "thought of" not "though of"
2015-10-08 07:14:24 -04:00
Gabriel Halley
960ee4a185
removing whitespace all over
2015-10-07 23:11:24 -04:00
Ian Bertolacci
a9680e9c02
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
...
Fixed down merge-conflict.
2015-10-04 22:02:33 -06:00
David Stockton
eb35f7748a
Fix usage of "it's" in example comment for chapel
2015-10-03 19:40:02 -06:00
Ian Bertolacci
57ea4af17c
Updated info for Chapel 1.12.0
2015-10-02 10:31:25 -06:00
Ian Bertolacci
938720074b
Update to Chapel
...
A reader/writer sync example was missing a "Reader: " notem
2015-08-17 14:19:41 -07:00
Ian Bertolacci
b1a544d1f0
main(), modules, array/range/domain slicing, loop-expressions, array expressions, in depth zippered iterators
...
Quite the addition.
Modules required main() because of the begin statement issue.
array/range/domain slicing was more intricate than I though.
And loop/array expressions had some very very intersting behavior that necessitated a dive into zippered iterators.
Some back-of-the-head anxiety about the tutorial being to in depth? Nawww.
2015-08-05 18:22:56 -07:00
Ian Bertolacci
4f6ae05392
Small changes no.2
2015-08-02 16:05:19 -07:00
Ian Bertolacci
84fee0a950
Small corrections.
...
Removed duplicate countDown.
Weird leftover words from parallelism statemet
General corrections so spelling capitalization
2015-08-02 15:53:19 -07:00
Ian Bertolacci
27cc820762
Uniform tics, noteable arguments addition.
...
Changed all N-tics for preformatted/code text into single tics if that code was sinle line (i.e. bash commands, compiler arguments)
Added --main-module, --module-dir to Notable arguments section.
Realized that the text <blah blah> was disappering, so changed it to `<bla bla>`. Need to confirm it success.
2015-08-02 15:44:16 -07:00
Ian Bertolacci
b27d526822
Added modules and main()
...
Worth noting that this will change the diff of the parallel section quite a bit, since they became the body of the main procedure.
Thus each line in intented.
2015-08-02 15:37:01 -07:00
Ian Bertolacci
11ca1012e4
Clarified some wording on the zipper iterator. Changed the example to something more simple and informative.
2015-08-02 14:35:41 -07:00
Ian Bertolacci
c2f85b27b5
added count-down mutex example. Cleaned up some of the reductions and scans prints
2015-08-01 17:02:51 -07:00
Ian Bertolacci
3332ce43bb
added scans and reductions
2015-07-22 19:08:22 -07:00
Ian Bertolacci
77daaef8ed
config param changeup
...
changed some of the wording of the param config example.
Namely put the comment immediately below the example.
Also added --set to the noteable arguments list.
Also changed "compile(?: )?time" to "compile-time"
2015-07-20 13:07:23 -07:00
Ian Bertolacci
d35d9d213c
Word error
...
that -> than
2015-07-20 13:01:25 -07:00
Ian Bertolacci
2936ca4c69
Erroneous comment
...
removed "define mySecondVar as a real" unnecessary and incorrect.
2015-07-20 12:59:35 -07:00
Ian Bertolacci
d2d98a3810
Spelling error
...
Tupe -> Tuple
2015-07-20 08:17:01 -07:00
Ian Bertolacci
bcc84f9c76
Explained atomics, moved atomics first
...
Felt the need to add in an explanation about atomics, then felt that (because atomics are common in language and in theory) it should go before sync and single vars.
Should I explain sync and single?
2015-07-20 08:09:28 -07:00
Ian Bertolacci
d31b133e57
Merge branch 'master' of github.com:ian-bertolacci/learnxinyminutes-docs
2015-07-19 19:59:42 -07:00
Ian Bertolacci
155bf5d0a2
Added sync, single, and atomic vars.
2015-07-19 19:59:30 -07:00
Ian Bertolacci
fe0c14b8ad
De-capitalization
...
Changed language name and filename back to lower case 'chapel' in keeping with previous name to avoid possible site breakage.
2015-07-19 16:01:04 -07:00
Ian Bertolacci
bad5266d05
Slight modifications.
2015-07-18 14:16:08 -07:00
Ian Bertolacci
3ca94ec6ac
Merged down
2015-07-18 14:10:01 -07:00
Adam Bard
71f87d44fd
More line breaks
...
Fix formatting in places
2015-07-18 09:21:14 +09:00
Ian Bertolacci
6a54bca6ee
Capitalization, Chapel Directory.
2015-07-17 10:31:32 -07:00
Ian Bertolacci
e7fe0b267a
Spellcheck
2015-07-17 10:24:16 -07:00
Ian Bertolacci
77c4ddb522
Put lists back in
...
Pretty sure what was causing the 'back end' error was my bad markdown skills
2015-07-17 10:15:29 -07:00
Ian Bertolacci
4ae7b49219
Changed bash examples from block code
...
Bash examples were in block code form (triple tick), should have been in inline mode (single tic)
2015-07-17 10:13:51 -07:00
Ian Bertolacci
4edb920f51
capitalization and attempt to fix lists
2015-07-17 10:09:21 -07:00
Adam Bard
c22acdf8bd
Update chapel.html.markdown
...
Make sure nothing breaks (too badly)
2015-07-17 14:45:18 +09:00
ian.bertolacci
29e468266d
Merge branch 'master' of github.com:ian-bertolacci/learnxinyminutes-docs
...
Something
2015-07-15 12:08:24 -07:00
ian.bertolacci
37257b5922
epiphany on ref returns. lead to better example of ref returns and then also a description of ref vars
2015-07-15 12:08:15 -07:00
Ian Bertolacci
d6f8b8e629
Codify proc() main lacking note
2015-07-14 19:09:10 -07:00
ian.bertolacci
7640ea4a30
Some rewriting, hopefully the last commit before pull request
2015-07-14 19:07:59 -07:00
ian.bertolacci
2e7ebaa3b9
A number of edits. Some cosmetic. Added iterators, argument/return intents
2015-07-14 18:40:53 -07:00
ian.bertolacci
343ae6ca1b
Almost last update. Small changes to wording
2015-07-14 17:49:59 -07:00
ian.bertolacci
e8b259f4c6
Moved majority of header to bottom. Less preachy?
2015-07-14 17:44:55 -07:00
Ian Bertolacci
6a6673b154
Fixed almost pi
...
22/7ths is closer to pi than 11/7ths. Almost twice as close!
2015-07-14 17:32:00 -07:00
ian.bertolacci
df0cd1395d
numerous slight modifications, and additions. Notable: added const, param, config
2015-07-14 17:30:09 -07:00
ian.bertolacci
2a41844229
changed some wording in header. added tuple expansion
2015-07-14 07:40:53 -07:00
ian.bertolacci
7bdcbc834e
removed IRC node. That node refers to people developing in the compiler, no developers using the language
2015-07-13 16:42:46 -07:00
Ian Bertolacci
28f2817ac3
removed hyphen
...
removed hyphen from library-documentation
2015-07-12 16:50:55 -07:00
Ian Bertolacci
70a5440d4c
Bad Link fix
...
fixed a link that was suppose to go to the chapel.cray.com site, but did not.
2015-07-12 16:49:49 -07:00
Ian Bertolacci
7ff3bd31d8
Link and header fix
...
1. put latest release url under the text [download the latest ....]
2. changed '... important to us!' to '... important to the developers!' so not to confuse the us (chapel dev team) with the tutorial people (learnxinyminutes)
2015-07-12 16:48:34 -07:00
Ian Bertolacci
cbbb833445
List formatting
...
Lists needed a space before numbers to actually become html list formatted.
2015-07-12 16:45:18 -07:00