This document discusses programming language parsers and abstract syntax trees. It covers topics like:
- The process of syntactical analysis and turning a sequence of tokens into a parse tree.
- How parse trees represent the syntactic structure of a string according to a grammar and why they are useful for computers.
- The two main approaches for building a parse tree - top-down and bottom-up parsing.
- How Python's lex-yacc module can be used to generate a parser from grammar rules and build an abstract syntax tree.
Related topics: