A liberalised re-implementation of cpp, the C pre-processor.


Version on this page:1.20.9@rev:1
LTS Haskell 21.13:
Stackage Nightly 2023-09-24:
Latest on Hackage:

See all snapshots cpphs appears in

LicenseRef-LGPL licensed and maintained by Malcolm Wallace
This version can be pinned in stack with:cpphs-1.20.9@sha256:cbfc22035785798ce347e7e12f9232a205f47a50234fa1daaa6c9e25a0885eff,2326

Module documentation for 1.20.9

Used by 2 packages in lts-15.3(full list with versions):

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.