On Tue, May 23, 2006 at 10:31:17AM +0100, Vladimir Portnykh wrote: > Hello ALL, > I am very new to Haskell and my question might appear very basic sorry > about it in advance. > I have a C++ application and I would like to be able to launch Haskell > interpreter (lets say GHC) supplying the Haskell code (in a file ) to be > interpreted from it. The Haskell program generates some output and I would > like to use this output in my C++ program. > Do you have any simple example to help me, please? > Many thanks, Vladimir
You might also try compiling / using hsplugins, which compiles haskell code at runtime.. There is an example how to compile/call such a haskell method from C. Marc _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
