Sumários

Lexer and Parser Generator Tools

9 Março 2018, 18:30 Vasco Manuel Thudichum de Serpa Vasconcelos

Lexer and Parser Generator Tools: ANTLR 4.

Designing grammars with ANTLR.

Exercise: Parsing JSON, syntax

Comparison of parser generators (wikipedia)

Visiting trees with listeners.

Bibliography: The Definitive ANTLR 4 Reference, chapters 5-7.


Lexer and Parser Generator Tools

9 Março 2018, 16:30 Vasco Manuel Thudichum de Serpa Vasconcelos

Lexer and Parser Generator Tools: ANTLR 4.

Designing grammars with ANTLR.

Exercise: Parsing JSON, syntax

Comparison of parser generators (wikipedia)

Visiting trees with listeners.

Bibliography: The Definitive ANTLR 4 Reference, chapters 5-7.


Lexical Analysis and Parsing.

2 Março 2018, 18:30 Vasco Manuel Thudichum de Serpa Vasconcelos

Bibliography: Modern Compiler Implementation in Java, chapters 2 and 3.

Written assignment 1: Lexical Analysis and Parsing. Due date: March 19


Lexical Analysis and Parsing.

2 Março 2018, 16:30 Vasco Manuel Thudichum de Serpa Vasconcelos

Bibliography: Modern Compiler Implementation in Java, chapters 2 and 3.

Written assignment 1: Lexical Analysis and Parsing. Due date: March 19


Intro

23 Fevereiro 2018, 18:30 Vasco Manuel Thudichum de Serpa Vasconcelos

Syllabus, including grading.

Overview of the compilation process. Constructing a compiler from a collection of components. Tools for generating components.

Bibliography: The Definitive ANTLR 4 Reference, chapters 1 to 3.

Coding assignment 1: warm-up exercise. Due date: March 5.