This article is an unpublished draft.

% Alternative Preprocessors for C and Other Languages

General Preprocessors

Preprocessors for Literate Programming

Semantic Patching and Program Transformation

  • patch
  • Coccinelle — for C only.
  • S-expressions: search for macroexpand-all

Miscellaneous Code Modification Tools

  • sed


  • <?perl ... ?> — Perl code injection.
  • <?scheme ... ?> — Scheme code injection.
  • Way to run S-expressions through Lisp macro processing without executing macros in separate file.

See also Language Research.