@@ -35,19 +35,19 @@ ASTs -- are in a separate crate called "syntax", whose files are in
3535./../libsyntax, where . is the current directory (that is, the parent
3636directory of front/, middle/, back/, and so on).
3737
38- The entry-point for the compiler is main() in driver/ rustc.rs , and
38+ The entry-point for the compiler is main() in rustc.rc , and
3939this file sequences the various parts together.
4040
4141
4242The 3 central data structures:
4343------------------------------
4444
45- #1: ../libsyntax/ast.rs defines the AST. The AST is treated as immutable
45+ #1: ./. ./libsyntax/ast.rs defines the AST. The AST is treated as immutable
4646 after parsing, but it depends on mutable context data structures
4747 (mainly hash maps) to give it meaning.
4848
4949 - Many -- though not all -- nodes within this data structure are
50- wrapped in the type spanned<T>, meaning that the front-end has
50+ wrapped in the type ` spanned<T>` , meaning that the front-end has
5151 marked the input coordinates of that node. The member .node is
5252 the data itself, the member .span is the input location (file,
5353 line, column; both low and high).
@@ -78,7 +78,7 @@ Control and information flow within the compiler:
7878- main() in rustc.rc assumes control on startup. Options are
7979 parsed, platform is detected, etc.
8080
81- - libsyntax/parse/parser.rs parses the input files and produces an AST
81+ - ./../ libsyntax/parse/parser.rs parses the input files and produces an AST
8282 that represents the input crate.
8383
8484- Multiple middle-end passes (middle/resolve.rs, middle/typeck.rs)
0 commit comments