Lecture 5: Abstract Syntax Trees

  • CST: Concrete Syntax Tree (aka Parse Tree)
  • AST: Abstract Syntax Tree
  • Semantic actions
  • Inline interpreter for simple DSLs
  • AST nodes generation
  • Parenthesized expression