Commit Graph

2393 Commits

Author SHA1 Message Date
Michael Bryan b2581c0fdd Updated stupid-stats
cc: nrc/stupid-stats#8
2018-03-12 17:41:01 -05:00
Michael Bryan 75497d550b Addressed some of @nrc and @mark-i-m's comments 2018-03-12 17:41:01 -05:00
Michael Bryan eb765cdbe4 Added a couple definitions to the code index 2018-03-12 17:41:01 -05:00
Michael Bryan 1c8a0a94a4 Thank you link checker! 2018-03-12 17:41:01 -05:00
Michael Bryan ea7b99943a Renamed appendices and added @nrc's guide 2018-03-12 17:41:01 -05:00
Michael Bryan 558f16cc8a Added a very rough rustc-driver chapter 2018-03-12 17:41:01 -05:00
Mark Mansi 73cc6098c9 Fix a few typos 2018-03-11 21:05:29 -05:00
Shanavas M d41933a95b fix typo 2018-03-10 10:50:26 -06:00
Niko Matsakis b30174cf00 trailing whitespace 2018-03-10 07:11:11 -05:00
Niko Matsakis 45394e41e4 fix link 2018-03-10 07:10:44 -05:00
Niko Matsakis 70786e7025 update the summary landing page 2018-03-10 07:09:25 -05:00
Niko Matsakis c237f48c97 add implied bounds placeholder 2018-03-10 07:06:48 -05:00
Niko Matsakis 26c1254b0e numerous edits 2018-03-10 07:06:48 -05:00
Niko Matsakis 0a5a47d731 rework canon section substantially to spell out steps more clearly 2018-03-10 07:06:48 -05:00
Niko Matsakis 32c471b278 update for notation 2018-03-10 07:06:48 -05:00
Niko Matsakis 71e867a8ac add background material on trait queries 2018-03-10 07:06:48 -05:00
Niko Matsakis a7b1b24fe1 expand reorder topic list slightly 2018-03-10 07:06:48 -05:00
Niko Matsakis 96730e2455 don't say 'thing' 2018-03-10 07:06:48 -05:00
Niko Matsakis 70c84edf43 link to traits working group tracking issue 2018-03-10 07:06:48 -05:00
Niko Matsakis d4c2ab308a clarify how there are two traits chapters 2018-03-10 07:06:48 -05:00
Niko Matsakis 4d1dbd553b work on traits chapters 2018-03-10 07:06:48 -05:00
Vishal Sodani d4fd74f3de Better explanation for StringReader 2018-03-09 09:37:51 -06:00
vishalsodani ead02a47e7 Add info about StringReader for #50 2018-03-09 09:37:51 -06:00
Adam C. Foltzer 1f0d256254 Fix typos 2018-03-07 12:41:19 -06:00
Phlosioneer c2560d523f Fix typo in conventions.md 2018-03-06 19:09:22 -06:00
Michal 'vorner' Vaner bad6063311 Second pass of name resolution
Just small little tweaks
2018-03-04 13:29:37 -06:00
vishalsodani dc72b964cf keep alphabetical order 2018-03-02 19:42:26 +05:30
vishalsodani 6de540d76a Add info about TraitDef for #50 2018-03-02 11:03:20 +05:30
vishalsodani 375182e066 Add info about CodeMap for #50 2018-03-02 09:22:41 +05:30
vishalsodani 31756c8bbe Add info about ParseSess for code index #50 2018-03-01 10:48:06 -06:00
Mark Mansi a3dfe3ebf1 actually fix table with hack 2018-02-28 14:58:24 -06:00
Mark Mansi 533b96b6d0 fix table 2018-02-28 14:45:51 -06:00
Who? Me?! 4835c223f5 Fix funny glossary formatting 2018-02-28 14:40:18 -06:00
Niko Matsakis b74423facf address nits 2018-02-28 14:30:04 -06:00
Niko Matsakis bca4268e94 fix typo 2018-02-28 14:30:04 -06:00
Niko Matsakis 75b2591ab3 apply mark-i-m's suggestions 2018-02-28 14:30:04 -06:00
Niko Matsakis 644dccfa34 rework the MIR intro section, breaking out passes and visitors 2018-02-28 14:30:04 -06:00
Niko Matsakis a8c8f4ad3b Merge pull request #56 from mark-i-m/markim_glossary_002
Add some codegen related terminology to glossary
2018-02-25 21:59:51 -05:00
Eric Huss ca2bb760c4 Start documentation for test infrastructure.
CC #10
2018-02-25 15:47:48 -06:00
Mark Mansi f6844420a6 Add some codegen related terminology to glossary 2018-02-24 21:09:00 -06:00
Niko Matsakis a86c286a49 Merge pull request #57 from mark-i-m/markim_glossary_003
Add a few more terms to the glossary
2018-02-23 20:47:29 -05:00
Niko Matsakis 481588a13b Merge pull request #52 from mark-i-m/traits
Clean up and reorganize traits chapter
2018-02-23 20:47:05 -05:00
Mark Mansi dedf73b5f2 Add HIR MAP to glossary 2018-02-23 13:18:13 -06:00
Mark Mansi 895c6967ed Start a code index 2018-02-23 12:53:13 -06:00
Eric Huss 7df929b7e1 Add some more information about the various tests that get run.
CC #10
2018-02-23 12:45:17 -06:00
Mark Mansi 8d11e1ac3b Minor updates to specialization subchapter 2018-02-23 12:40:14 -06:00
Mark Mansi a4b5151b11 Edits and cleanup in trait-caching subchapter 2018-02-23 12:40:14 -06:00
Mark Mansi e5aca6a8ec Clarifications and edits to hrtb chapter 2018-02-23 12:40:14 -06:00
Mark Mansi cbd05bc786 Clean up and reorganize traits chapter 2018-02-23 12:40:14 -06:00
Oliver Schneider 77e872fb58 Add some documentation for const eval and related topics 2018-02-23 12:36:20 -06:00
Brad Gibson b84288f2ac changed to relative links, where possible 2018-02-21 10:44:23 -08:00
Brad Gibson 3d7bc934db cleaned up some stragglers 2018-02-21 07:44:07 -08:00
Brad Gibson 7eed06b83c merged with upstream/master 2018-02-20 15:37:14 -08:00
Brad Gibson f50f36177a added compiletest to summary.md; linked to existing resources for additional information 2018-02-20 15:32:17 -08:00
Niko Matsakis 49da9c9030 remove humorous footnote which is not supported 2018-02-17 10:51:29 -06:00
Niko Matsakis 8605464d3b correct links (mdbook seems to want them relative to the book root) 2018-02-17 10:51:29 -06:00
Niko Matsakis bcf38b78a4 mention tidy 2018-02-17 10:51:29 -06:00
Niko Matsakis dbb6900498 fix typo 2018-02-17 10:51:29 -06:00
Niko Matsakis cec7fed1ad link to brson's blog post 2018-02-17 10:51:29 -06:00
Niko Matsakis 4680105b89 complete sentence 2018-02-17 10:51:29 -06:00
Niko Matsakis e34e22bc5b give some advice about which test suite to use 2018-02-17 10:51:29 -06:00
Niko Matsakis 747cea1ae7 add some more conventions 2018-02-17 10:51:29 -06:00
Niko Matsakis e2a7f6f3ad add some notes on coding conventions and link to copyright notice 2018-02-17 10:51:29 -06:00
Niko Matsakis 228ecd29a8 document the test infrastructure 2018-02-17 10:51:29 -06:00
Mark Mansi 6cb1c99f99 Add a few more terms to the glossary 2018-02-15 18:11:15 -06:00
Who? Me?! 7f1566e8a3 Update glossary.md 2018-02-14 11:58:26 -06:00
Mark Mansi 35a13bae33 add soundness and completeness to glossary 2018-02-14 11:58:26 -06:00
Brad Gibson 2685d478fd Added 'How to add header commands to `compiletest`' 2018-02-13 09:53:45 -08:00
Brad Gibson 43afda3032 fixed typos 2018-02-13 09:45:26 -08:00
Brad Gibson 3c6e64ed70 Update compiletest.md
changed file references to GitHub links directly to files
2018-02-13 09:22:33 -08:00
Brad Gibson b4e2f6b643 created compiletest.md
describe the steps required to add a test and a header command to compiletest
2018-02-13 05:53:35 -08:00
Mark Mansi 63b6666b77 alphabetize glossary 2018-02-11 15:48:58 -06:00
Niko Matsakis e17efcf9e7 Merge pull request #46 from theotherphil/dumphir
Explain how to dump HIR
2018-02-08 04:13:33 -05:00
Phil Ellison cce2b0ae9c Use cargo rustc instead of setting RUSTFLAGS 2018-02-07 19:14:58 +00:00
Phil Ellison de6afbc261 Explain how to dump HIR 2018-02-07 07:08:58 +00:00
Philipp Hansch aa2d408c1e Order alphabetically, improve explanation of DAG 2018-02-06 11:26:34 -06:00
Philipp Hansch 7d53e449a9 Add DAG to glossary 2018-02-06 11:26:34 -06:00
Mark Mansi 5920d94563 Update link text 2018-02-04 21:52:30 -06:00
Alexander Regueiro 1187124cad Removed spurious `a`. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 5a9fce427e Fixed issues mentioned by @mark-i-m in review. 2018-02-04 21:46:26 -06:00
Alexander Regueiro c579c23694 More minor fixes. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 597ed7d4fd Cleaned up section on type inference. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 80e9252f12 Explained what HM type inference is. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 152c08b1c9 Very minor grammatical fixes. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 7c158a6acc Normalized instances of `N.B.`. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 072d698430 Changed all instances of `e.g.,` to `e.g.`, and similar. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 4f417f0be6 Improved grammar of HIR section. 2018-02-04 21:46:26 -06:00
Alexander Regueiro 02b5849749 Renamed `trans: generating LLVM IR` section. 2018-02-04 21:46:26 -06:00
avborhanian b2ece4a61a Update glossary.md 2018-02-04 13:13:17 -06:00
avborhanian 5b7e442fc3 Update glossary.md 2018-02-04 13:13:17 -06:00
avborhanian 4489e9734f Adding ICH to the glossary. 2018-02-04 13:13:17 -06:00
Alexander Regueiro c95e604602 minor grammatical fixes 2018-02-01 11:03:07 -06:00
Alexander Regueiro 780e954a17 replaced all instances of `--` (double hyphen) with `-` (en-dash) 2018-02-01 11:03:07 -06:00
Alexander Regueiro 487b8e01c3 fixed definition of code_mr hyperlink 2018-02-01 11:03:07 -06:00
Niko Matsakis 2a9f806b8e Merge pull request #37 from nikomatsakis/staging
update wording on staging to be a bit more clear
2018-01-31 14:44:55 -05:00
Niko Matsakis 26954dcecb update wording to be a bit more clear 2018-01-31 14:18:51 -05:00
Niko Matsakis e4f4581cc6 fix some broken links 2018-01-31 14:13:49 -05:00
Niko Matsakis 04d35ee547 Update link to hir 2018-01-31 14:13:10 -05:00
Niko Matsakis 6ab5adfb2e update to link within the book 2018-01-31 14:13:10 -05:00
Michael Bryan 1d3f0bb532 Added the mdbook-linkcheck backend 2018-01-31 14:13:09 -05:00
Niko Matsakis 32ceadd9d9 Merge pull request #36 from mark-i-m/markim_readme_02
Copy MIR readme
2018-01-31 14:12:41 -05:00
Mark Mansi a6fb06e122 copy MIR readme 2018-01-31 12:22:42 -06:00
Niko Matsakis 030bc47d4d Merge pull request #31 from mark-i-m/markim_readme_01
Copy type inference readme
2018-01-31 11:28:11 -05:00
Niko Matsakis 16bf438749 Merge pull request #33 from mark-i-m/stages
Add a paragraph about bootstrapping
2018-01-31 11:25:10 -05:00
Niko Matsakis 4c0a9e144e Merge pull request #29 from rust-lang-nursery/mark-i-m-patch-1
I'm guessing this was a typo?
2018-01-31 11:19:25 -05:00
Niko Matsakis 4bff2b4fba Merge pull request #26 from mark-i-m/macros
Start macro expansion chapter
2018-01-31 11:18:20 -05:00
Alexander Regueiro 314bc0c525 changed hyphens to en-dashes 2018-01-30 20:14:12 -06:00
Alexander Regueiro 1903ff4b16 minor clarification 2018-01-30 20:14:12 -06:00
Alexander Regueiro c8c54f68ae fixed grammatical oversight 2018-01-30 20:14:12 -06:00
Alexander Regueiro d2740041b0 improved grammar and fixed small errors 2018-01-30 20:14:12 -06:00
Alexander Regueiro b66d8d9def improved grammar
use en-dashes instead of `--`
2018-01-30 20:14:12 -06:00
Mark Mansi 7022c0aac4 Add a para about bootstrapping 2018-01-30 16:29:16 -06:00
Who? Me?! 6da8a1b6a4 Fix minor typos 2018-01-30 11:38:37 -06:00
Michal 'vorner' Vaner 136cf15064 The first approximation of name resolution (#22)
* The first approximation of name resolution

The first attempt to write something useful about the name resolution.
As the TODO section says, his is not finished thing, but it might
hopefully be useful to someone already.
2018-01-29 22:18:35 +01:00
Mark Mansi e2eb8fc511 copy type inference readme 2018-01-29 13:12:28 -06:00
Mark Mansi 68e84c734d Corrected relationship of macro and rust parsers 2018-01-29 11:50:34 -06:00
Who? Me?! 3947a76572 I'm guessing this was a typo? 2018-01-29 11:37:40 -06:00
Mark Mansi 41a4f43684 Rewrite 'tokens' para... 2018-01-29 11:20:46 -06:00
Niko Matsakis cd055e97a4 link glossary to mir 2018-01-29 10:26:40 -05:00
Niko Matsakis aacd1c47c8 create links in the glossary 2018-01-29 10:25:44 -05:00
Niko Matsakis eb31ada5c7 breakup the MIR section and add an incremental compilation section 2018-01-29 10:20:03 -05:00
Mark Mansi 81e9d3bb83 Updated macros to address Niko's comments 2018-01-26 14:41:56 -06:00
Niko Matsakis d052d295ef move over the query chapter from src/librustc/ty/maps 2018-01-26 09:20:01 -05:00
Niko Matsakis 8d6d60a010 rename the hir chapter to The HIR 2018-01-26 09:12:15 -05:00
Mark Mansi ce6899ab8b Oops rename 2018-01-25 17:58:04 -06:00
Mark Mansi b58a3dc627 Add a bit about macro expansion 2018-01-25 17:56:33 -06:00
Mark Mansi 1c92abebd6 Start macro expansion chapter 2018-01-25 15:58:47 -06:00
Niko Matsakis af83b8e8d4 Merge pull request #21 from Michael-F-Bryan/parser
WIP: Started working on the Parser
2018-01-25 09:47:54 -05:00
Niko Matsakis 4588cebfe4 Merge pull request #24 from nikomatsakis/master
how to build and run compiler, first shot
2018-01-25 09:40:36 -05:00
Niko Matsakis 887d8829f6 fix nits 2018-01-25 09:40:07 -05:00
Michael Bryan d1f0ff2ed3 Mentioned the main players in the parser 2018-01-25 00:30:52 +08:00
Niko Matsakis 287c401283 how to build and run compiler, first shot 2018-01-24 09:14:35 -05:00
Phil Ellison bfb6388d7b Copy contents of README.md from librustc/hir 2018-01-23 20:04:27 +00:00
Michael Bryan 20970b6b85 Started working on the parser chapter 2018-01-20 22:13:39 +08:00
Niko Matsakis 141528264b move over the `ty` README 2018-01-19 06:51:52 -05:00
Niko Matsakis b440859ad3 add in the trait resolution README from rustc 2018-01-19 06:46:56 -05:00
Niko Matsakis 81d158b707 remove the `chap-NNN-` convention from file names
I don't want those showing up in the URLs.
2018-01-19 06:46:56 -05:00
Niko Matsakis 45c8176b95 replace "conventions" with "high-level overview"
Also bring in material from the librustc README.md
2018-01-19 06:46:56 -05:00
Niko Matsakis 2c8b1345c0 add an "about this guide" section 2018-01-19 06:39:09 -05:00
Niko Matsakis f0db733d99 remove `src/src` directory that somehow got created 2018-01-17 09:25:59 -05:00
Mark Mansi 4e03569d8d Add glossary 2018-01-16 18:43:10 -06:00
Niko Matsakis eaa28eb853 add outline and chapters 2018-01-16 17:35:19 -05:00
Niko Matsakis 27ec0dc6d6 add `mdbook init` 2018-01-16 16:35:44 -05:00