GSoC proposal: Extend Cabal Preprocessors.

Duncan Coutts duncan.coutts at
Sun Apr 11 11:56:20 EDT 2010

On Thu, 2010-04-08 at 22:10 -0400, Diego Echeverri wrote:
> Hi!
> I finish writing my proposal (maybe a bit too late).
> I would be glad to read any feedback.

Hi Diego,

Generally a good proposal. It would be great for Cabal's "Simple" build
system to be able deal with pre-processor chaining and with
pre-processors that do not have a simple 1:1 relationship between .hs
and other source files.

Here are two closely related issues you might like to think about:

      * pre-processors that have inter-module dependencies (e.g. c2hs)
      * pre-processors that generate modules from "nothing" ie there is
        no special file extension, simply a program that generates a
        specific module. This is common for things like adding the darcs
        context, or project-specific generation.


More information about the cabal-devel mailing list