1 repositorio
Tools that rewrite C++ source code into an expanded version to reveal implicit compiler operations.
Distinct from Go Source-to-Source Transformers: Specifically targets C++ language expansion for visualization, unlike Go-specific DI wiring transformers.
Explore 1 awesome GitHub repository matching programming languages & runtimes · C++ Source-to-Source Transformers. Refine with filters or upvote what's useful.
cppinsights is a C++ compiler visualization and static analysis tool that uses the Clang frontend to parse source code into an abstract syntax tree. It functions as a source-to-source transformer, rewriting C++ code to make implicit compiler behaviors and hidden operations explicit and visible. The tool specializes in unfolding complex language constructs, such as expanding the internal machinery of coroutines to visualize suspension and resumption logic. It also reveals the actual code generated during template instantiation and transforms implicit compiler actions, including structured bind
Rewrites original C++ code into an expanded version by replacing implicit compiler operations with explicit statements.