From b83f451e96cd39dc489d7a2a5030d362fa736d6a Mon Sep 17 00:00:00 2001 From: psteinfeld <47540744+psteinfeld@users.noreply.github.com> Date: Mon, 25 Feb 2019 10:38:55 -0800 Subject: [PATCH] [flang] Update Overview.md Original-commit: flang-compiler/f18@9a26677adc1f1b2c5b3dd2a328b24df3713fb08f Reviewed-on: https://github.com/flang-compiler/f18/pull/301 Tree-same-pre-rewrite: false --- flang/documentation/Overview.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/flang/documentation/Overview.md b/flang/documentation/Overview.md index 9aa70ba..b8b55fb 100644 --- a/flang/documentation/Overview.md +++ b/flang/documentation/Overview.md @@ -8,6 +8,8 @@ Each phase produces either correct output or fatal errors. ## Prescan and Preprocess +See: [Preprocessing.md](Preprocessing.md). + **Input:** Fortran source and header files, command line macro definitions, set of enabled compiler directives (to be treated as directives rather than comments). @@ -30,7 +32,7 @@ Each phase produces either correct output or fatal errors. **Output:** A parse tree representing a syntactically correct program, rooted at a `parser::Program`. - See: [parsing.md](parsing.md). + See: [Parsing.md](Parsing.md) and [ParserCombinators.md](ParserCombinators.md). **Entry point:** `parser::Parsing::Parse` @@ -78,6 +80,7 @@ Each phase produces either correct output or fatal errors. **Output:** For each module and submodule, a `.mod` file containing a minimal Fortran representation suitable for compiling program units that depend on it. + See [ModFiles.md](ModFiles.md). ## Analyze Expressions and Assignments @@ -88,3 +91,9 @@ Each phase produces either correct output or fatal errors. **Entry points**: `semantics::AnalyzeExpressions`, `semantics::AnalyzeAssignments` +## Produce the Intermediate Representation + +**Input:** Parse tree with names and labels resolved. + +**Output:** An intermediate representation of the executable program. + See [FortranIR.md](FortranIR.md). -- 2.7.4