Re: Custom preprocessor with custom file includes

2012-11-29 Thread Jeroen Bransen
Hi all, So, any feedback for this? I still think it is a good idea to move the filetime change check for a preprocessed file from preprocessFile to mkSimplePreProcessor (both in Distribution.Simple.PreProcess). This gives preprocessors the flexibility to define their own dependency tracking,

Custom preprocessor with custom file includes

2012-11-05 Thread 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]

Re: Custom preprocessor with custom file includes

2012-11-05 Thread Johan Tibell
On Mon, Nov 5, 2012 at 8:14 AM, Jeroen Bransen j.bran...@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