
5 Nov
2012
5 Nov
'12
4:32 p.m.
On Mon, Nov 5, 2012 at 8:14 AM, Jeroen Bransen
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/