Dumping a C program's AST with the Psyche-C Compiler Frontend
Too Long; Didn't Read
Psyche-C is a C compiler frontend that is designed for the implementation of static analysis tools. It provides clean separation between syntax and semantics (with algorithmic- and heuristic-based syntax disambiguation) It provides tolerance against.#include failures, tolerance against `#include` failures, and API inspired by that of the [Roslyn.NET] frontend. But it may as well be used as an ordinary C. parser via the *cnippet* driver. In this little article, I will provide you with a glimpse of the AST that Psyche C produces as the result of parsing a C program.