Documentation
May 30, 2026 ยท View on GitHub
The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency C++ header-only parser combinator library for creating parsers according to a Parsing Expression Grammar (PEG).
Contents
- Introduction
- Install Guide
- Rules and Grammars
- Inputs and Parsing
- Actions and States
- Control and Normal
- Errors and Exceptions
- Debug Facilities
- Rule Reference
- Input Reference
- Action Reference
- Control Reference
- Extra Reference
- Example Reference
- Parse Tree
- Stream Parsing
- Object Parsing
- Migration Guide
- Development
- Changelog
This page is part of the PEGTL and its documentation.
Copyright (c) 2014-2026 Dr. Colin Hirsch and Daniel Frey
Distributed under the Boost Software License, Version 1.0
See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt