Custom preprocessor with custom file includes
Johan Tibell
johan.tibell at gmail.com
Mon Nov 5 17:32:52 CET 2012
On Mon, Nov 5, 2012 at 8:14 AM, Jeroen Bransen <J.Bransen at uu.nl> wrote:
> With Distribution.Simple.PreProcess.PreProcessor we can add a custom preprocessor to our Haskell project. This works fine when there is a one-to-one mapping from other-source to Haskell-source file, but there is no good support for other types of preprocessors. For example, for our UUAGC [1] project we also have a cabal plugin [2], and we have the following situation.
This would also be a problem for any Protocol Buffers [1]
preprocessor, where we would typically map one protocol buffer
definition (a .proto file) to several Haskell modules.
Cheers,
Johan
1. http://code.google.com/p/protobuf/
More information about the cabal-devel
mailing list