Support stipulation of custom compiler preprocessor

The ability to optionally provide the compiler with a preprocessor application to apply to each source file seems useful. In particular, the ability to augment such sources into conventional rust source code from a lighter syntax presently implied by the grammatically relevant use of newlines, indents, and spaces of rust standard formatting.

You can already run a preprocessor as part of a build.rs step. Or use a proc macro.

5 Likes