Parsing Data

One of the key focus areas in software development today is working on and analyzing (big) data streams. Every programming language needs to have some support for these kinds of tasks. Most languages use regular expressions (in short, regex (https://www.regular-expressions.info/examples.html)) for such tasks. These expressions match patterns in string data using a specialized formal syntax, which often comes across as an awkward addition to the code.

Red takes a different approach. While Red offers all series operations for working with data, it also has its own domain-specific language (DSL) or dialect called parse, specifically built for text and data processing. The parsing engine is implemented in Red/System. It has its own ...

Get Learn Red - Fundamentals of Red 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.