[project @ 2003-05-29 14:39:26 by sof]
authorsof <unknown>
Thu, 29 May 2003 14:39:31 +0000 (14:39 +0000)
committersof <unknown>
Thu, 29 May 2003 14:39:31 +0000 (14:39 +0000)
commita7d8f43718b167689c0a4a4c23b33a325e0239f1
tree5da294fb5b8f5ad147c498115df6a024887cdeea
parentc4282406d8cf94962f41ebd7eaa7abf4ee23ac7d
[project @ 2003-05-29 14:39:26 by sof]
Support for interop'ing with .NET via FFI declarations along the
lines of what Hugs98.NET offers, see

 http://haskell.org/pipermail/cvs-hugs/2003-March/001723.html

for FFI decl details.

To enable, configure with --enable-dotnet + have a look
in ghc/rts/dotnet/Makefile for details of what tools are needed to
build the .NET interop layer (tools from VS.NET / Framework SDK.)

The commit doesn't include some library additions + wider-scale
testing is required before this extension can be regarded as available
for general use. 'foreign import dotnet' is currently only supported
by the C backend.
26 files changed:
acconfig.h
configure.in
ghc/compiler/absCSyn/PprAbsC.lhs
ghc/compiler/deSugar/DsCCall.lhs
ghc/compiler/deSugar/DsForeign.lhs
ghc/compiler/deSugar/MatchLit.lhs
ghc/compiler/nativeGen/StixPrim.lhs
ghc/compiler/parser/RdrHsSyn.lhs
ghc/compiler/prelude/ForeignCall.lhs
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/rename/RnSource.lhs
ghc/compiler/typecheck/TcForeign.lhs
ghc/compiler/typecheck/TcType.lhs
ghc/includes/DNInvoke.h [new file with mode: 0644]
ghc/includes/Dotnet.h [new file with mode: 0644]
ghc/includes/Stg.h
ghc/rts/Makefile
ghc/rts/dotnet/Invoke.c [new file with mode: 0644]
ghc/rts/dotnet/Invoker.cpp [new file with mode: 0644]
ghc/rts/dotnet/Invoker.h [new file with mode: 0644]
ghc/rts/dotnet/InvokerClient.h [new file with mode: 0644]
ghc/rts/dotnet/Makefile [new file with mode: 0644]
ghc/rts/dotnet/invoker.snk [new file with mode: 0644]
ghc/rts/package.conf.in
mk/config.h.in
mk/config.mk.in