Chapter 13. Parsing Text
Structured text formats that are readable by both humans and machines have been popular almost since the beginning of computing. Programming languages are a good example of this, but there are many others. Parsing text is related to the previous chapter, language orient programming, because if you want to implement a language that is not embedded in F# then creating a parser for that format would be the first step. However, there are many reasons that you may want to parse an existing text format, so I did not want to limit this chapter to parsing languages.
Simple text formats such as comma separated values (CSV) are generally quite straightforward to parse, although even CVS can have its challenges, like handling escape ...
Get Beginning F# 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.