[Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell
dons at galois.com
Fri Oct 10 13:44:11 EDT 2008
This could be a game changer.
Great work Andrew!!
> I'd like to announce the first release of Salsa, an experimental Haskell
> library that allows Haskell programs to access .NET libraries.
> Here's a taste:
> > type Hello.hs
> import Foreign.Salsa
> import Bindings
> main = withCLR $ do
> _Console # _writeLine ("Hello .NET World!")
> > type Hello.imports
> System.Console: WriteLine
> > msbuild
> > .\hello
> Hello .NET World!
> Salsa operates by loading the .NET runtime into your Haskell process and
> using the FFI (and run-time code generation) to marshall calls between
> the .NET and Haskell runtimes. It includes a code generator and a
> type-level library (which uses type families) to provide type-safe
> access to .NET libraries in Haskell with C#-style method overload
> resolution and implicit conversions.
> The adventurous can find version 0.1.0.1 of Salsa on Hackage , the
> darcs repository on code.haskell.org , and some (limited)
> documentation on the Haskell wiki .
> The library is experimental and by no means complete (refer to the wiki
> page  for some of its limitations). Be prepared to end up with
> incomprehensible error messages and/or a broken compiler! :-)
> At the moment you'll need Windows, GHC 6.8, and version 3.5 of the .NET
> Framework to use it.
> Have fun!
>  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Salsa
>  http://code.haskell.org/Salsa
>  http://haskell.org/haskellwiki/Salsa
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe