Chapter 19. Parsing

Topics in This Chapter image

19.1 Grammars — page 270

19.2 Combining Parser Operations — page 271

19.3 Transforming Parser Results — page 273

19.4 Discarding Tokens — page 274

19.5 Generating Parse Trees — page 275

19.6 Avoiding Left Recursion — page 276

19.7 More Combinators — page 277

19.8 Avoiding Backtracking — page 280

19.9 Packrat Parsers — page 280

19.10 What Exactly Are Parsers? — page 281

19.11 Regex Parsers — page 282

19.12 Token-Based Parsers — page 283

19.13 Error Handling — page 285

Exercises — page 286

In this chapter, you will see how to use the “combinator parser” library to analyze data ...

Get Scala for the Impatient 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.