Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-18 Thread Andrew Coppin
Wouter Swierstra wrote: Can some one please give me a suggestion on the best choice for an embedded scripting Language for a haskell application? Why not use Haskell itself? That's not a half-bad idea. However, installing the whole of GHC (or worse, HP) just to do a little scripting i

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-18 Thread Yves Parès
Mmh, I raised this question some months ago, I thought about Scheme and I've been recommended to use Lua instead of Scheme (as far as I remember, the author of a scheme implementation available on Hackage told it wasn't solid enough). I would add something: who will script for your application? If

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-18 Thread Felipe Lessa
On Wed, Aug 18, 2010 at 4:42 AM, John Lask wrote: > On 18/08/2010 12:20 PM, Stephen Sinclair wrote: > > you could script in haskell by embedding hugs. Hugs exe + base lib ~ 1MB. > Hmmm... Would it be possible to pass complex values between the program (with GHC) and the script (with Hugs)? Proba

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-18 Thread Christopher Done
On 18 August 2010 01:41, Felipe Lessa wrote: > On Tue, Aug 17, 2010 at 7:07 PM, Christopher Done > wrote: >> Sadly this is true. I went ahead and tested this to confirm; compiled >> mueval (which uses hint), copied the executable to a virtual machine >> and it required the GHC package repo among

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-18 Thread John Lask
On 18/08/2010 12:20 PM, Stephen Sinclair wrote: you could script in haskell by embedding hugs. Hugs exe + base lib ~ 1MB. On Tue, Aug 17, 2010 at 6:05 AM, Hemanth Kapila wrote: Hi, Can some one please give me a suggestion on the best choice for an embedded scripting Language for a haskell app

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Stephen Sinclair
On Tue, Aug 17, 2010 at 6:05 AM, Hemanth Kapila wrote: > Hi, > Can some one please give me a suggestion on the best choice for an embedded > scripting Language for a haskell application? > I mean, something like guile/lua for c/c++ and groovy/jruby for java. > For quite some time, I've been using

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Felipe Lessa
On Tue, Aug 17, 2010 at 9:12 PM, Hemanth Kapila wrote: >   I was about to toss a coin to decide which one to pickup. Perhaps I should > worry about the size. You should think about what kind of code you want to support in your scripts. I mean, if you start binding every Haskell library into Lua,

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Hemanth Kapila
thanks to all for the responses. I tried hint and hslua and haskell and both are very nice. My sincere thanks and kudos to the developers and maintainers of the packages (and to Bulat for the tutorial on hslua). FWIW, a couple of observations: 1. haskell indeed makes a great scripting langua

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Felipe Lessa
On Tue, Aug 17, 2010 at 7:07 PM, Christopher Done wrote: > Sadly this is true. I went ahead and tested this to confirm; compiled > mueval (which uses hint), copied the executable to a virtual machine > and it required the GHC package repo among other GHC-related > libraries. > > The size is indeed

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Felipe Lessa
On Tue, Aug 17, 2010 at 8:50 AM, Wouter Swierstra wrote: >>> Can some one please give me a suggestion on the best choice for an >>> embedded >>> scripting Language for a haskell application? > > Why not use Haskell itself? I agree that C and Java aren't perhaps the > best choice for application sc

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Wouter Swierstra
>> Can some one please give me a suggestion on the best choice for an >> embedded >> scripting Language for a haskell application? Why not use Haskell itself? I agree that C and Java aren't perhaps the best choice for application scripting – but both Xmonad and Yi have had quite some success using

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread John Lato
> > From: Hemanth Kapila > Subject: [Haskell-cafe] Embedded scripting Language for haskell app > > Hi, > > Can some one please give me a suggestion on the best choice for an embedded > scripting Language for a haskell application? > I mean, something like guile/lua for

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Bulat Ziganshin
Hello Hemanth, Tuesday, August 17, 2010, 2:05:44 PM, you wrote: btw, i've written unfinished hslua tutorial: http://haskell.org/haskellwiki/HsLua -- Best regards, Bulatmailto:bulat.zigans...@gmail.com ___ Haskell-Cafe mai

[Haskell-cafe] Embedded scripting Language for haskell app

2010-08-17 Thread Hemanth Kapila
Hi, Can some one please give me a suggestion on the best choice for an embedded scripting Language for a haskell application? I mean, something like guile/lua for c/c++ and groovy/jruby for java. For quite some time, I've been using a lisp-like interpreter that I implemented myself. But this is n