Provide a library to interact with C source code. This might include writing a full-blown compiler, building a language server, or manipulating source code, integrating with an IDE, better debugging facilities, or any of a number of other possibilities.
Only tested in Linux.
There is no support for the C preprocessor at all. Any preprocessor commands are simply ignored, as are comments.
The parser does parse some C programs, like the provided sample.c.
gcc This is explicitly invoked in the Makefile, but I also test with tcc and pcc.
These commands output an executable named
$ make debug $ make release
$ make test # Build test executable $ make help # Show this help on the CLI