TRAINING · ANTLR

Using ANTLR like a professional.

A video course that takes you from your first grammar to a parser you can put into production—written by people who build parsers for a living.

Sixteen lessons and three and a half hours of video in the Standard edition; twenty lessons and four hours in the Professional edition, which adds the performance material and our best-practice guide. Source code in Python, JavaScript and C#, five commented example grammars, and a manual of more than fifty pages.

Where people get stuck
  • Lexer rules and parser rules blur together
  • Expressions and operator precedence fight back
  • Indentation-sensitive input has no obvious answer
  • The grammar works, then a real file breaks it
  • The parse tree is not the shape your tool needs

Each of these has a known solution. The course is the shortest route to all of them.

Why ANTLR

ANTLR is a parser generator: you write a grammar, it produces a lexer and a parser in your target language. It handles rich grammars and gives you both listeners and visitors for walking the result, which makes it a reasonable default for programming languages and for domain-specific languages alike.

One grammar, many targets

ANTLR generates parsers for Java, C#, Python, JavaScript, TypeScript, Go, C++, Swift, PHP and Dart. Strumenta maintains the Kotlin target, which produces a multiplatform library from a single grammar.

Tooling that shows you the tree

Visual parse-tree inspection and grammar testing come with the toolchain, and there are plugins for IntelliJ IDEA and VS Code with syntax highlighting, error checking and live grammar testing.

Used in production, widely

ANTLR sits underneath open-source tooling and commercial systems across many industries, which means the answers to hard grammar questions usually already exist somewhere.

What you will be able to do

By the end of the course you should be able to take an unfamiliar input format, write a grammar for it, test that grammar, handle its errors, and turn the parse tree into a structure your own tool can work with.

What is in the course

Standard edition

Everything you need to build a parser

$329one-time

  • 16 lessons, 3 hours 30 minutes of video
  • Full source code in Python, JavaScript and C#
  • A manual of more than 50 pages with cheatsheets
  • 5 example grammars, commented
  • A short guide to getting started with grun
  • Subtitles and transcripts for every lesson
  • Access to the reserved area of the Strumenta community

Buy the Standard edition →

Professional edition

Plus performance and our own house rules

$679one-time

  • 20 lessons, 4 hours of video
  • Everything in the Standard edition
  • Four extra lessons on transforming complex parse trees and on parser performance
  • The ANTLR best-practice guide: the principles and patterns we use, and the ones we avoid, from our own parser work

Buy the Professional edition →

Lesson by lesson

Lessons 1 to 16 are in both editions. Lessons 17 to 20 are Professional only.

What people have said

“Federico Tomassetti has created an awesome ANTLR video course if you are interested. It costs money but could be worth it for you if you want to get up to speed quickly.”

Terence ParrCreator of ANTLR, writing on the antlr-discussion mailing list, April 2018

“I just finished watching the ‘Using ANTLR Like A Professional’ video course, and I now know how to rewrite our existing parsers!”

Norman JaffeCourse purchaser

Who teaches it, and what happens if it is not for you

Write the grammar you have been putting off.

Start with the Standard edition if you want a working parser. Take the Professional edition if you already know you will care about performance and about the shape of the tree.

See both editions

Scroll to Top