Skip to content

Parser and ANTLR4

Intro

Together with Alessio Stalla from Strumenta, we will explore the world of parsers, trying to understand their purpose and how to write them. We will discover that with ANTLR4, all we need to do is write the formal grammar to generate and use our parser. This is the first of three evenings about the fascinating world of compilers and interpreters.

Alessio works at Strumenta, specializing in linguistic engineering services for the creation of DSLs, programming languages, editors, compilers, interpreters, debuggers, and simulators.

Material

📚 Repository: Github

📚 Slides:

➡️ https://github.com/PythonBiellaGroup/ANTLR/blob/serata1/slides/ANTLR-01.pdf

📚 Sito ufficiale ANTLR4

➡️ https://www.antlr.org/

📚 Try it with no setup configuration

➡️ http://lab.antlr.org/

📚 Collection of ANTLR4 grammars for the major programming languages

➡️ https://github.com/antlr/grammars-v4

Meetup video