preprocessors
Ross Paterson
ross@soi.city.ac.uk
Fri, 15 Feb 2002 11:39:36 +0000
On Fri, Feb 15, 2002 at 11:27:05AM +0000, Malcolm Wallace wrote:
> The latest version of hmake (3.01) has support for calling a
> preprocessor based on the filename extension, before calling the
> compiler on the resulting file. Currently, it recognises:
>
> .y Happy
> .ly literate Happy
> .gc GreenCard
> .hsc hsc2hs
> .chs C->HS
> .hs.cpp C preprocessor
>
> I'm not really sure whether the invocation magic for all of these
> is correct yet, but I would encourage people to try it out and
> send patches. It is pretty easy to add new preprocessors - there
> are basically four options to define for each pp in addition to the
> filename extension.
That's nice. Is it user-configurable? (i.e. without changing the compiler)