You are previewing Scala for the Impatient.

Scala for the Impatient

Cover of Scala for the Impatient by Cay S. Horstmann Published by Addison-Wesley Professional
O'Reilly logo

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.