I am not familiar with C# but I think what you looking for is the GHC api which allows you to compile haskell expressions at runtime. Look for metaplug on hackage (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/metaplug-0.1.1).As a .NET (C#/F#) programmer learning Haskell, I would love to know the best online sources about run-time compilation etc. like Reflection.Emit in .NET. I am making heavy use of this .NET API to compile customized (regular-expressions-) FSAs at run-time and want to learn how I might achieve the same in Haskell. Book or online article references specific to this issue will be highly appreciated ^_^