Sequence 2 – Lexical and Syntax Analysis

Resources

Lectures

2.1 Abstract Syntax Tree (AST)

AST slides

2.2 Traversing the tree with a visitor

Traversing with a visitor slides

2.3 Lexer

Lexer slides

2.4 Parser

Parser slides

Bonus: SLR parser

SLR parser slides