Lisp macros for C

A macro is a function that operates on your code’s abstract syntax tree rather than values. Macros in cmacro have nothing to do with the C preprocessor except they happen at compile time, and have no knowledge of run-time values.

Macros are written directly in the source, and the cmc program is used to process a file with macros to a macroexpanded file. - cmacro

  • Magma - a collection of useful macros
Written on February 27, 2019, Last update on September 4, 2020
c++ lisp macro