This library implements PEG (Parsing Expression Grammar) parsers, which can be embedded in a C++ program. The grammars are built and interpreted at run time, without an intermediate code generation stage.

It tries to mimic as closely as possible the functionality and style of Ian Piumarta's LEG compiler. LEG grammars can be translated easily and almost mechanically.

Actions and semantic predicates can be written directly in the grammar, using lambdas.

C++11 or later is required.

Features

  • Single header library.
  • Small, simple and easy.

Project Samples

Project Activity

See All Activity >

License

Public Domain

Follow pegplusplus

pegplusplus Web Site

Other Useful Business Software
Deliver secure remote access with OpenVPN. Icon
Deliver secure remote access with OpenVPN.

Trusted by nearly 20,000 customers worldwide, and all major cloud providers.

OpenVPN's products provide scalable, secure remote access — giving complete freedom to your employees to work outside the office while securely accessing SaaS, the internet, and company resources.
Get started — no credit card required.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pegplusplus!

Additional Project Details

Operating Systems

Linux

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Algorithms, C++ Interpreters, C++ Libraries

Registered

2017-01-16