Past Meetup

Parsing in C++ with a DSEL : Boost.Spirit -- A JSON Parser Tutorial

This Meetup is past

36 people went

Location image of event venue


Machinery, sensors, equipment, client/server communications, even file formats... Parsing and producing data streams are everywhere you look. Often these tasks are simple or small enough to tempt ad-hoc solutions. Boost.Spirit provides a DSEL (Domain Specific Embedded Language) that is simple enough to tackle those "quick hacks" and easily scales for full-featured AST generation.

Michael will introduce the Boost.Spirit library while we create a JSON parser. We will also discuss recursive variants and techniques to generate streams from data representations. Join us!


Michael Caisse has been crafting code in C++ for over 20-years. He is a regular speaker at BoostCon/C++Now and other community events. Michael is the owner of Ciere Consulting which provides software consulting and contracting services, C++ training, and Project Recovery for failing multidisciplinary engineering projects. ::