Command Line Parser Library
summary
A composable command-line parser called Clara is extracted from Catch and rewritten for C++11 so CLI code composes instead of duplicating. Each option is a small parser that lexes into a token stream and returns remaining tokens and status (error short-circuiting). Parsers combine with a pipe operator to build a single parser that exposes help, integrates with Catch2’s main or user main, and already drives Catch’s CLI, proving the design works in practice.
AI-written summary · about
chapters (4)
related talks
05mA Composable Command Line Parser
42mBinary Parsing, C++23 Style
46mBinary Parsing - C++23 Style!
42mGenerating Parsers in C++ with Maphoon - Part 1 of 2
01h 00mTeaching old compilers new tricks
05mChplx - Bridging Chapel and C++ for Enhanced Asynchronous Many-Task Programming
07mCan I has grammar?
28m"Making a Programming Language for 3D Design"
