Download List

Project Description

cpphs is a more liberal re-implementation of cpp, the C pre-processor, in Haskell. The C pre-processor is widely used in Haskell source code, but a true cpp is often unavailable on some systems (such as native Windows), and the common cpp provided by the gcc 3.x series has become more strictly tied to the C language, in subtle ways that are incompatible with Haskell's syntax. This includes problems with, for instance, string gaps, and prime characters in identifiers. This project provides a robust alternative to cpp that is more compatible with Haskell and can be distributed with compilers.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2004-06-07 22:24 Back to release list
0.5

The --stringise flag has been renamed to --hashes, and it is now used to turn on ## catenation as well as # stringisation. File inclusion now looks in the directory of the calling file in addition to the normal search path. Failure to find an include file is now a warning to stderr rather than an error. Previously, line continuations in a macro definition were always preserved in the output, permitting use of the Haskell layout rule even inside a macro. The default is now to remove line continuations for conformance with cpp, but the new option --layout permits the more liberal behaviour.
Tags: Minor bugfixes

Project Resources