Update README slightly.
This commit is contained in:
parent
c94e612ade
commit
1e3e7d4bc5
1 changed files with 3 additions and 2 deletions
|
@ -12,7 +12,8 @@ High-level concepts
|
||||||
|
|
||||||
Rustc consists of the following subdirectories:
|
Rustc consists of the following subdirectories:
|
||||||
|
|
||||||
front/ - front-end: lexer, parser, AST.
|
syntax/ - pure syntax concerns: lexer, parser, AST.
|
||||||
|
front/ - front-end: attributes, conditional compilation
|
||||||
middle/ - middle-end: resolving, typechecking, translating
|
middle/ - middle-end: resolving, typechecking, translating
|
||||||
back/ - back-end: linking and ABI
|
back/ - back-end: linking and ABI
|
||||||
driver/ - command-line processing, main() entrypoint
|
driver/ - command-line processing, main() entrypoint
|
||||||
|
@ -27,7 +28,7 @@ this file sequences the various parts together.
|
||||||
The 3 central data structures:
|
The 3 central data structures:
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
#1: front/ast.rs defines the AST. The AST is treated as immutable
|
#1: syntax/ast.rs defines the AST. The AST is treated as immutable
|
||||||
after parsing despite containing some mutable types (hashtables
|
after parsing despite containing some mutable types (hashtables
|
||||||
and such). There are three interesting details to know about this
|
and such). There are three interesting details to know about this
|
||||||
structure:
|
structure:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue