Serafina Brocious
Serafina Brocious

Reputation: 30619

Flexible compiler pipeline definitions

I'm developing a compiler framework for .NET and want a flexible way of defining pipelines. I've considered the following options:

Requirements:

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?

Upvotes: 3

Views: 365

Answers (2)

pmlarocque
pmlarocque

Reputation: 1714

I know Boo let you have fun with the compiler, not sure if it does in the manner you want.

Upvotes: 0

mbrodersen
mbrodersen

Reputation: 787

If you know Ruby then a solution is to write a simple internal DSL that can generate whatever pipeline data types and reader/writer code you need. Generating XML is a quick way to get started. You can always change the DSL to generate another format later if required.

You may also want to look at the Microsoft Phoenix compiler project for inspiration.

Upvotes: 1

Related Questions