Commit Graph

218 Commits

Author SHA1 Message Date
Matt Brubeck 155601eefe Update the keyword lists in rust.md and syntax.vim
Add new keywords "enum" and "of", and remove old keywords "auth", "chan",
"log_err", "tag", and "task".

Also add reserved words to the syntax file, to help Vim users avoid using them
as identifiers.
2012-01-20 16:08:51 -08:00
Brian Anderson 4efdab0059 doc: Add MinGW instructions to tutorial 2012-01-20 15:27:14 -08:00
Brian Anderson 3401c50070 doc: Use commas to separate enums in tutorial 2012-01-20 15:14:18 -08:00
Niko Matsakis 1304e4e40f update tutorial to avoid block() syntax and to use term stack closure 2012-01-20 09:14:30 -08:00
Brian Anderson 20a9e317c9 doc: Fix mutant comma in tutorial 2012-01-20 02:16:11 -08:00
Brian Anderson 341540b694 doc: Mention 'debug' log level in tutorial. Closes #1579 2012-01-20 01:06:26 -08:00
Graydon Hoare a4954eb6ce Couple typo fixes in tutorial. 2012-01-19 23:58:33 -08:00
Graydon Hoare d8e750f1c6 Typo fix in tutorial. 2012-01-19 22:55:40 -08:00
Brian Anderson b9d517296a doc: Update description of logging spec and ::rt module 2012-01-19 22:30:15 -08:00
Matt Brubeck 2eda013ea2 Add documentation about paretheses for grouping expressions 2012-01-19 21:54:17 -08:00
Matt Brubeck 3d9f50a186 Mention associativity of binary operators 2012-01-19 21:54:17 -08:00
Matt Brubeck 3276af7f24 "Rust task" should be "Rust program" in the intro to the Memory Model docs 2012-01-19 21:54:17 -08:00
Graydon Hoare c470018240 Merge pull request #1573 from mbrubeck/master
Remove some stray texinfo syntax from a footnote
2012-01-19 21:36:13 -08:00
Ben Striegel 1a295096b1 tutorial.md: spelling corrections for sections 1-5 2012-01-20 00:22:05 -05:00
Matt Brubeck cea9fbfab0 Remove some stray texinfo syntax from a footnote 2012-01-19 21:12:46 -08:00
Matt Brubeck bed7e96022 Fix a broken link in doc/rust.md. 2012-01-19 20:55:36 -08:00
Graydon Hoare 6ffc36bb1b Move some doc text around. 2012-01-19 18:34:41 -08:00
Graydon Hoare 874390831a Fix a bunch of broken internal links in the docs. Add a hokey link checker. 2012-01-19 17:50:21 -08:00
Graydon Hoare a5e1848906 Remove old ref.foo noise. 2012-01-19 17:11:05 -08:00
Graydon Hoare 5589ab16e0 Clarify immaturity of grammar, add a pile of half-baked grammar rules. 2012-01-19 17:05:35 -08:00
Graydon Hoare 997b29fa7e Fix links. 2012-01-19 17:01:15 -08:00
Tim Chevalier c500801f83 Fix typos in section 6; point out that prove expressions are unsupported 2012-01-19 16:59:25 -08:00
Tim Chevalier 704210ef7c Typos, section 5 2012-01-19 16:31:42 -08:00
Tim Chevalier bb54979b39 Fix typos 2012-01-19 16:23:38 -08:00
Tim Chevalier 64a0695fec Fix typos 2012-01-19 16:05:55 -08:00
Tim Chevalier 93a816ab9d Fix typo 2012-01-19 16:02:04 -08:00
Graydon Hoare 7e21be5304 Add 'getting started' text to tutorial, close #427. 2012-01-19 14:49:00 -08:00
Graydon Hoare cc2bd02827 Remove doc/rust.texi 2012-01-19 13:10:14 -08:00
Graydon Hoare e0a4d47720 Copy section to docs on runtime services. 2012-01-19 13:10:14 -08:00
Brian Anderson 0c237254b3 doc: Copyedit task section 2012-01-19 12:23:35 -08:00
Brian Anderson 35f553dbd6 doc: Fix typo 2012-01-19 11:38:26 -08:00
Marijn Haverbeke d54cc1cad4 Fix internal linking in the tutorial 2012-01-19 15:33:45 +01:00
Marijn Haverbeke a4b77758f0 Move tutorial over to a format similar to the reference doc
And adjust highlighting/testing scripts to deal with this.
2012-01-19 13:34:10 +01:00
Tim Chevalier 90cd795b8b Update docs to reflect pattern syntax change 2012-01-19 01:22:43 -08:00
Graydon Hoare 3074fd591d Tidy tidy 2012-01-18 18:44:06 -08:00
Marijn Haverbeke ba6c94e321 Add a stylesheet to make the reference HTML look a bit prettier 2012-01-18 16:28:31 +01:00
Marijn Haverbeke 861b8f0107 Fill out some parts of the reference docs 2012-01-18 16:28:31 +01:00
Marijn Haverbeke e40cd654b9 Fix bug in tutorial render script 2012-01-18 16:28:31 +01:00
Marijn Haverbeke 94cd792b92 Fix poor markdown parsing in tutorial-building script 2012-01-18 09:39:19 +01:00
Graydon Hoare 711fc20d88 Merge pull request #1544 from kevina/issue-1393
Minor cleanups to custom discriminator code.
2012-01-17 12:45:09 -08:00
Kevin Atkinson bdc8e8d222 Minor cleanups to custom discriminator code.
Mostly updates to the comments and docs from Pull Request #1537.
2012-01-16 21:04:02 -07:00
Graydon Hoare 293678847b Convert a bunch of material on items, statements, expressions and typestates. 2012-01-16 18:04:48 -08:00
Graydon Hoare 236b304f19 Convert some material covering items, view-items, types. 2012-01-16 16:13:34 -08:00
Marijn Haverbeke 498ad91d06 Upgrade CodeMirror mode used to highlight the tutorial code 2012-01-16 13:07:16 +01:00
Marijn Haverbeke 936c933fd8 Move emacs mode into tree 2012-01-16 12:44:24 +01:00
Kevin Atkinson edf11ebf02 In the tutorial, document that C-like enums can have the discriminator
values set and that it is possible to cast them to scalar values.
2012-01-16 11:19:32 +01:00
Graydon Hoare f535940bd5 Import task and memory-model docs. 2012-01-13 15:43:12 -08:00
Graydon Hoare 4f9e1ba80b More doc porting. 2012-01-13 15:43:12 -08:00
Graydon Hoare fefdb63c4c Begin shift over to using pandoc, markdown and llnextgen for reference manual. Fix man page URL while at it. 2012-01-12 19:10:30 -08:00
Graham Fawcett f4a3a3b878 tutorial: rework nolink description to remove mention of "empty string" 2012-01-12 22:02:41 +01:00