Abstract syntax trees (ASTs) represent the recursive structure of a formal document (program source code).

- Stackoverflow.com Wiki
1 articles, 0 books.

In this post we are going to see how process and transform the information obtained from the parser. The ANTLR parser recognizes the elements present in the source code and build a parse tree. From the parse tree we will obtain the Abstract Syntax Tree which we will use to perform validation and produce compiled code.