OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

cpphs-1.20.10

liberalised reimplementation of cpp in Haskell

Back to search · Project homepage

Description

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.

Package information

Ports path
devel/cpphs
Package architecture
amd64
Maintainer
Matthias Kilian <kili@openbsd.org>
Categories
devel
Available flavors
None listed
Only for architectures
arm64, amd64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

Installing and updating packages · Package details as JSON