diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-09-15 16:31:33 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-09-15 16:31:33 -0700 |
| commit | 1e3e7d4bc577460cfab90fcdf1e20ba9f4906eea (patch) | |
| tree | f506966c6ab1b88dda94c5ad876dd44c0de94487 /src/comp | |
| parent | c94e612ade7421b5c83992b71e8fc4ab2fe49562 (diff) | |
| download | rust-1e3e7d4bc577460cfab90fcdf1e20ba9f4906eea.tar.gz rust-1e3e7d4bc577460cfab90fcdf1e20ba9f4906eea.zip | |
Update README slightly.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/README | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/comp/README b/src/comp/README index 93b88a818c4..9ee501c4c3b 100644 --- a/src/comp/README +++ b/src/comp/README @@ -12,7 +12,8 @@ High-level concepts 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 back/ - back-end: linking and ABI driver/ - command-line processing, main() entrypoint @@ -27,7 +28,7 @@ this file sequences the various parts together. 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 and such). There are three interesting details to know about this structure: |
