llvm.org GIT mirror llvm / ccb51f9
[docs] PR15254: Add "AST" to the lexicon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175077 91177308-0d34-0410-b5e6-96231b3b80d8 Sean Silva 6 years ago
1 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1313
1414 **ADCE**
1515 Aggressive Dead Code Elimination
16
17 **AST**
18 Abstract Syntax Tree.
19
20 Due to Clang's influence (mostly the fact that parsing and semantic
21 analysis are so intertwined for C and especially C++), the typical
22 working definition of AST in the LLVM community is roughly "the
23 compiler's first complete symbolic (as opposed to textual)
24 representation of an input program".
25 As such, an "AST" might be a more general graph instead of a "tree"
26 (consider the symbolic representation for the type of a typical "linked
27 list node"). This working definition is closer to what some authors
28 call an "annotated abstract syntax tree".
29
30 Consult your favorite compiler book or search engine for more details.
1631
1732 B
1833 -