Skip to main content

Parsers—Because BNF Is Not Just for Academics Anymore

  • Chapter
Beginning Scala
  • 1413 Accesses

Abstract

We’ve covered a lot of ground so far, but most of the examples have been one or two lines of code. Sure, the control structures are helpful, and of course most of our programming projects pit dragons and bunnies in battle, but one of the biggest challenges we face is dealing with real-world data. If we’re lucky, the real-world data will be well formed in XML. But sometimes we’re not so lucky. Sometimes we’re handed a spec for a wire format or a text file format and told to “deal with it.” Good news: Scala is very good at helping you deal with it.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2009 David Pollak

About this chapter

Cite this chapter

Pollak, D. (2009). Parsers—Because BNF Is Not Just for Academics Anymore. In: Beginning Scala. Apress. https://doi.org/10.1007/978-1-4302-1990-3_8

Download citation

Publish with us

Policies and ethics