A liberalised re-implementation of cpp, the C pre-processor. http://projects.haskell.org/cpphs/

Latest on Hackage:

See all snapshots cpphs appears in

LicenseRef-LGPL licensed and maintained by Malcolm Wallace

Module documentation for 1.20.8

This version can be pinned in stack with:cpphs-1.20.8@sha256:97a19443d29f315bb3142e48018efaaadbaeb07f2d82a04a0e6d7d889947b25b,2336

Cpphs is a re-implementation of the C pre-processor that is both more compatible with Haskell, and itself written in Haskell so that it can be distributed with compilers.

This version of the C pre-processor is pretty-much feature-complete and compatible with traditional (K&R) pre-processors. Additional features include: a plain-text mode; an option to unlit literate code files; and an option to turn off macro-expansion.

Used by 3 packages in lts-13.19(full list with versions):