awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
andreasfertig avatar

andreasfertig/cppinsights

0
View on GitHub↗
4,497 stars·265 forks·C++·MIT·3 vuescppinsights.io↗

Cppinsights

cppinsights est un outil de visualisation de compilateur C++ et d'analyse statique qui utilise le frontend Clang pour parser le code source en un arbre de syntaxe abstraite (AST). Il fonctionne comme un transformateur source-à-source, réécrivant le code C++ pour rendre explicites et visibles les comportements implicites du compilateur et les opérations cachées.

L'outil est spécialisé dans le dépliage de constructions complexes, comme l'expansion des mécanismes internes des coroutines pour visualiser la logique de suspension et de reprise. Il révèle également le code réel généré lors de l'instanciation de templates et transforme les actions implicites du compilateur, y compris les liaisons structurées et les fonctions membres spéciales, en représentations sources explicites.

Ses capacités incluent la résolution des directives using et la génération de cartes structurelles pour les hiérarchies d'héritage de classes C++.

Features

  • C++ Source-to-Source Transformers - Rewrites original C++ code into an expanded version by replacing implicit compiler operations with explicit statements.
  • AST-to-Source Generators - Produces explicit source representations by traversing the Clang abstract syntax tree to reflect lowered language semantics.
  • Compiler Behavior Visualizers - Visualizes how a C++ compiler interprets source code by expanding implicit operations into explicit, readable code.
  • Coroutine Machinery Visualizations - Transforms implicit coroutine suspension and resumption machinery into explicit representations for better understanding.
  • C# Compilers - Transforms C++ source code into explicit representations to reveal hidden compiler operations.
  • C++ Source-to-Source Translators - Rewrites C++ code to make implicit compiler behaviors and hidden operations explicit and visible.
  • Compiler-Integrated AST Parsing - Uses the Clang compiler frontend to parse C++ source code into abstract syntax trees for deep structural inspection.
  • Compiler Behavior Visualizations - Translates hidden compiler behaviors like upcasts and generated functions into visible code representations.
  • Implicit Compiler Action Expansions - Reveals hidden compiler actions like special member functions and implicit conversions through explicit source transformations.
  • C/C++ Static Analysis Tools - Analyzes C++ source code to visualize class hierarchies and expand implicit language constructs.
  • Coroutine Operation Expansions - Transforms implicit coroutine machinery into explicit representations to show suspension and resumption handling.
  • Template Instantiation Debugging - Reveals the actual code generated during the C++ template instantiation process.
  • Compiler Internals Education - Facilitates studying the internal workings of C++ by showing exactly how the compiler transforms high-level syntax.
  • Inheritance Visualizers - Generates structural maps of inheritance to visualize the organization and relationships between classes.
  • Using Statement Resolutions - Expands using statements that bring functions or members from base classes into the current class scope.
  • Structured Binding Expansions - Converts structured binding declarations into equivalent explicit operations to reveal implicit decomposition.
  • Débogage et traçage - Shows source code as the compiler sees it.

Historique des stars

Graphique de l'historique des stars pour andreasfertig/cppinsightsGraphique de l'historique des stars pour andreasfertig/cppinsights

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Cppinsights

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Cppinsights.
  • javaparser/javaparserAvatar de javaparser

    javaparser/javaparser

    6,053Voir sur GitHub↗

    JavaParser is a library that parses Java source code up to version 12 into an Abstract Syntax Tree (AST), enabling programmatic analysis, transformation, and generation of Java code. It serves as a parser, code analyzer, code generator, comment parser, and symbol resolver, providing a unified toolkit for working with Java source at the AST level. The library distinguishes itself through several integrated capabilities that go beyond basic parsing. It includes a symbol resolution engine that resolves type and symbol references across files for accurate semantic analysis, and an error-recovery

    Javaabstract-syntax-treeastcode-analysis
    Voir sur GitHub↗6,053
  • hsutter/cppfrontAvatar de hsutter

    hsutter/cppfront

    5,964Voir sur GitHub↗

    cppfront is a C++ language extension frontend and source-to-source translator. It functions as a syntax transformer that converts experimental language extensions into standard compliant C++ code, allowing for the prototyping of new language features within existing build systems. The project provides a translation layer that adds support for pattern matching, contracts, and string interpolation. It includes a metaprogramming tool for compile-time reflection and automated code generation using specialized metafunctions. The system automates several development tasks, including the resolution

    C++
    Voir sur GitHub↗5,964
  • cppcheck-opensource/cppcheckAvatar de cppcheck-opensource

    cppcheck-opensource/cppcheck

    6,660Voir sur GitHub↗

    Cppcheck is a static analysis tool and linter for C and C++ source code designed to detect programming errors, memory leaks, and security violations without executing the program. It functions as a bug detection engine and quality assurance tool to identify concurrency issues, type cast errors, and compliance with secure coding standards. The project provides a graphical user interface for selecting files and reviewing errors, alongside a linter for enforcing naming conventions and coding standards. It supports the creation of custom analysis rules using regular expressions to identify specif

    C++
    Voir sur GitHub↗6,660
  • google/blocklyAvatar de google

    google/blockly

    13,436Voir sur GitHub↗

    Blockly is a block-based coding library and visual programming editor that allows users to build programs by interlocking graphical blocks. It functions as a visual code generator, translating these arrangements of logic blocks and variables into executable source code for various programming languages. The library provides a framework for creating custom visual programming languages and low-code logic designers. It utilizes an SVG-based UI library to render interactive, draggable elements on a web canvas. The system is designed as an accessible web UI framework with integrated keyboard navi

    JavaScript
    Voir sur GitHub↗13,436
Voir les 30 alternatives à Cppinsights→

Questions fréquentes

Que fait andreasfertig/cppinsights ?

cppinsights est un outil de visualisation de compilateur C++ et d'analyse statique qui utilise le frontend Clang pour parser le code source en un arbre de syntaxe abstraite (AST). Il fonctionne comme un transformateur source-à-source, réécrivant le code C++ pour rendre explicites et visibles les comportements implicites du compilateur et les opérations cachées.

Quelles sont les fonctionnalités principales de andreasfertig/cppinsights ?

Les fonctionnalités principales de andreasfertig/cppinsights sont : C++ Source-to-Source Transformers, AST-to-Source Generators, Compiler Behavior Visualizers, Coroutine Machinery Visualizations, C# Compilers, C++ Source-to-Source Translators, Compiler-Integrated AST Parsing, Compiler Behavior Visualizations.

Quelles sont les alternatives open-source à andreasfertig/cppinsights ?

Les alternatives open-source à andreasfertig/cppinsights incluent : javaparser/javaparser — JavaParser is a library that parses Java source code up to version 12 into an Abstract Syntax Tree (AST), enabling… hsutter/cppfront — cppfront is a C++ language extension frontend and source-to-source translator. It functions as a syntax transformer… google/blockly — Blockly is a block-based coding library and visual programming editor that allows users to build programs by… include-what-you-use/include-what-you-use — Include What You Use is a C++ include optimizer and header dependency analyzer. It identifies unused or missing header… cppcheck-opensource/cppcheck — Cppcheck is a static analysis tool and linter for C and C++ source code designed to detect programming errors, memory… maskray/ccls — ccls is a language server providing code completion, navigation, and semantic analysis for C and C++ projects. It…