The other solutions look closer to what you want but https://savannah.nongnu.org/projects/nyacc
has a C parser written in Guile which outputs SXML and a pretty-printer which converts the SXML to C code. On 5/28/20 8:23 PM, Keith Wright wrote:
I am thinkging about a project that uses Scheme macros to generate C code. To this end I want to encode C programs as S-expressions.