Chapter 4A Quick Tour

So far, we have learned how to install ANTLR and have looked at the key processes, terminology, and building blocks needed to build a language application. In this chapter, we’re going to take a whirlwind tour of ANTLR by racing through a number of examples that illustrate its capabilities. We’ll be glossing over a lot of details in the interest of brevity, so don’t worry if things aren’t crystal clear. The goal is just to get a feel for what you can do with ANTLR. We’ll look underneath the hood starting in Chapter 5, ​Designing Grammars​. For those with experience using previous versions of ANTLR, this chapter is a great way to retool.

This chapter is broken down into four broad topics that nicely illustrate ...

Get The Definitive ANTLR 4 Reference, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.