O'Reilly logo

Building Parsers with Java™ by Steven John Metsker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Matching Mechanics

The parsers in this book depend on a few classes that bring a grammar to life, recognizing text and assembling results. Earlier chapters explain how to use these classes without explaining how the classes work. This chapter explains the mechanics of how Sequence, Alternation, and Repetition make their matches.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required