cpphs

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

http://projects.haskell.org/cpphs/

Version on this page:1.20.9
LTS Haskell 22.14:1.20.9.1@rev:1
Stackage Nightly 2024-03-28:1.20.9.1@rev:1
Latest on Hackage:1.20.9.1@rev:1

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:a327619396039c1d44832f5c89ea846d3ec9b5a43cd22d47066b7c276e2894cd,2304

Module documentation for 1.20.9

Used by 2 packages in nightly-2020-02-26(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.