Re: [Haskell-cafe] haskell embedded

2009-08-09 Thread Kevin Smith
Hello, I checked the Hugs User Manual and I didn't find any notes on this in
section 4. Other Ways of Running Hugs.  can you point me to this section
or reference ?  thanks

On Sat, Aug 8, 2009 at 9:37 PM, Bulat Ziganshin
bulat.zigans...@gmail.comwrote:

 Hello Kevin,

 Sunday, August 9, 2009, 5:24:02 AM, you wrote:

  Hello,  Could someone point me in the the direction of any
  references for using Haskell as an embedded language in an

 hugs documentation notes how to embed Hugs into application


 --
 Best regards,
  Bulatmailto:bulat.zigans...@gmail.com


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] haskell embedded

2009-08-08 Thread Kevin Smith
Hello,  Could someone point me in the the direction of any references for
using Haskell as an embedded language in an application. Xmonad seems to
come to mind because the configuration files are written using Haskell.  Any
other information ?  Thanks in advance.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] haskell embedded

2009-08-08 Thread Mark Wotton


On 09/08/2009, at 11:24 AM, Kevin Smith wrote:

Hello,  Could someone point me in the the direction of any  
references for using Haskell as an embedded language in an  
application. Xmonad seems to come to mind because the configuration  
files are written using Haskell.  Any other information ?  Thanks in  
advance.


In a Haskell application or a foreign one? Xmonad and lambdbabot are  
probably not bad places to start looking at methods to load new  
Haskell at runtime into a Haskell process. If you're looking at  
embedding it in a C program, http://www.haskell.org/haskellwiki/Calling_Haskell_from_C 
 is helpful, although it does require that you compile everything  
together at one time.


I've been looking into ways to load haskell code into Ruby programs at  
run-time lately, which you can check out at shimweasel.com if you like.
Briefly: dynamic library support doesn't work in ghc 6.10.1 at the  
moment, although it has at some point worked in GHC HEAD. I'm unable  
to get HEAD to build with --enable-shared on either Mac or Linux  
currently, you might have better luck.


mark
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] haskell embedded

2009-08-08 Thread Bulat Ziganshin
Hello Kevin,

Sunday, August 9, 2009, 5:24:02 AM, you wrote:

 Hello,  Could someone point me in the the direction of any
 references for using Haskell as an embedded language in an

hugs documentation notes how to embed Hugs into application


-- 
Best regards,
 Bulatmailto:bulat.zigans...@gmail.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe