[docs] PR15254: Add "AST" to the lexicon.

llvm-svn: 175077
This commit is contained in:
Sean Silva 2013-02-13 21:17:20 +00:00
parent 0aa2ad6104
commit 6c95b97bf6
1 changed files with 15 additions and 0 deletions

View File

@ -15,6 +15,21 @@ A
**ADCE**
Aggressive Dead Code Elimination
**AST**
Abstract Syntax Tree.
Due to Clang's influence (mostly the fact that parsing and semantic
analysis are so intertwined for C and especially C++), the typical
working definition of AST in the LLVM community is roughly "the
compiler's first complete symbolic (as opposed to textual)
representation of an input program".
As such, an "AST" might be a more general graph instead of a "tree"
(consider the symbolic representation for the type of a typical "linked
list node"). This working definition is closer to what some authors
call an "annotated abstract syntax tree".
Consult your favorite compiler book or search engine for more details.
B
-