Caution
This project was originally part of a larger project. I am currently working on separating it and making it reusable as an independent module. It has not yet been tested in its standalone form.
This common lisp library allows you to write C programs using a Lisp-like syntax. It parses structured expressions and emits valid, human-readable C source code, enabling a more expressive and macro-friendly way to write C. Ideal for metaprogramming, code generation, and educational purposes.
c-mera Next-level syntax for C-like languages
cl-cpp-generator2 ...aimed at leveraging the robust macro system of Common Lisp to enhance languages that bear similarity to C or C++
LISP/c (Lispsy) ... features access to LISP to write C code both implicitly and explicitly.
The easiest way is to
Clone this project into your Quicklisp local projects directory:
git clone https://github.com/biruh/cl-cgen.git ~/quicklisp/local-projectsStart your Lisp REPL and load the library using Quicklisp:
(ql:quickload :cl-cgen)