Is there anything like sly for C++?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews

    Parsing Expression Grammar Template Library

    You are looking for Boost.Spirit ( or PEGTL (

  • parser-demo

    Good source layout with Flex and Bison

    Use flex and bison, and take advantage of their features (since the defaults aren't sane four hysterical raisins). I have a demo project that I like to point people to.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • lexy

    C++ parsing DSL

    You can check Lexy library of Foonanthan. : it is pretty nice, and light and support if i don't miss, C++20

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts