paint-brush
Dumping a C program's AST with the Psyche-C Compiler Frontendby@ltcmelo
901 reads
901 reads

Dumping a C program's AST with the Psyche-C Compiler Frontend

by Leandro T. C. Melo1mMarch 8th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.
featured image - Dumping a C program's AST with the Psyche-C Compiler Frontend
Leandro T. C. Melo HackerNoon profile picture
Leandro T. C. Melo

Leandro T. C. Melo

@ltcmelo

http://ltcmelo.com

About @ltcmelo
LEARN MORE ABOUT @LTCMELO'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Leandro T. C. Melo HackerNoon profile picture
Leandro T. C. Melo@ltcmelo
http://ltcmelo.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite