Cl-cpp-generator – A Common Lisp library to generate C/C++ code
The following function write-source hashes the output of each call in `*file-hashes*` and will not emit code of unmodified s-expressions into C source code. So if you run this code in a fresh Common Lisp instance all C files will be touched and require a rebuild. The function (test
) will emit C code as defined by the s-expression in
using the emit-cpp function into /dev/shm/1.
Source: github.com