From 1e3e7d4bc577460cfab90fcdf1e20ba9f4906eea Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 15 Sep 2011 16:31:33 -0700 Subject: [PATCH] Update README slightly. --- src/comp/README | 5 +++-- 1 file 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: