I'm developing a compiler framework for .NET and want a flexible way of defining pipelines. I've considered the following options:
- WWF
- Custom XML pipeline description
- Custom pipeline description in code (using Nemerle's macros to define syntax for it)
- Other code-based description
Requirements:
- Must not depend on functionality only in the later versions of .NET (3+) since it's intended to be cross-platform and be used on top of managed kernels, meaning semi-limited .NET functionality.
- Must allow conditional pipeline building, so you can specify that certain command line options will correspond to certain elements and orders.
WWF would be nice, but doesn't meet the first requirement. The others would work but are less than optimal due to the work involved.
Does anyone know of a solution that will meet these goals with little to no modification?