What is Pegium?¶
Pegium is an open source language engineering toolkit for C++20. You use it to build textual languages with first-class support for parsing, AST/CST construction, references, validation, formatting, and language-server features.
The core idea: language tooling in C++ should feel like framework work, not like assembling unrelated parser, workspace, and editor pieces by hand.
Related pages¶
- Features — the capabilities Pegium provides out of the box.
- Showcases and shipped examples — see Pegium in action.
- Learn Pegium — the recommended step-by-step path for building a language.
- Walkthrough — build a language end-to-end.
- Reference — precise concepts once you know the workflow.
- Recipes — targeted guides rather than a linear tutorial.