Available C++ Libraries FAQ

Libraries available to download (M-P)

PEGTL - Parsing Expression Grammar Template Library

The Parsing Expression Grammar Template Library (PEGTL) is a C++11 header-only library for creating parsers according to a Parsing Expression Grammar (PEG). Grammars are written as regular C++ code, created with template programming, i.e. nested template instantiations that naturally correspond to the inductive definition of PEGs or other parser combinator approaches. A comprehensive set of parser rules that can be combined and extended by the user is included, as are mechanisms for debugging grammars and attaching user-defined actions to grammar rules.

Operating Systems

  • Linux
  • PC Windows
  • Mac
  • Any after making small changes...
  • could run on any OS, but not tested
  • Platform-independent


  • Visual C++
  • GCC
  • Compiler independent

Added : 2015-10-26 Amended: 2015-10-26 Licensing : MIT

    PEGTL - Parsing Expression Grammar Template Library
  • PEGTL on GitHub
  • Submitted by:Colin Hirsch
Add a comment
Our ads
Buy gold
Beat the credit crunch - buy gold online - quickly, safely and at low prices
Trumphurst Home Page
C++ Usenet Newsgroup
A Web form for submissions to this list
Contact the author for permission to distribute

Copyright (c) 2024 Nikki Locke, Trumphurst Ltd.
Permission is granted to distribute over the Internet without charge. The author's permission is required (and usually given) to distribute in any other way, including on CD.