[Haskell-cafe] Embedded scripting Language for haskell app

Felipe Lessa felipe.lessa at gmail.com
Tue Aug 17 17:18:09 EDT 2010

On Tue, Aug 17, 2010 at 8:50 AM, Wouter Swierstra
<wouter at vectorfabrics.com> 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 scripting – but both Xmonad and Yi have
> had quite some success using Haskell to script/configure a Haskell
> application.

First of all, size.  AFAIK, hint requires the full GHC to be
installed, which means that to distribute your program you need to
distribute at least a dozen mebibytes more.

And perhaps more importantly, sandboxing.  Reading hint's
documentation it isn't clear to me how one could have a whitelist of
packages and/or modules.  With Lua this is a no-brainer.

But I also think that Haskell makes a great scripting language.  I
guess its suitability depends on what kind of scripting you want to



More information about the Haskell-Cafe mailing list