[Haskell-cafe] Embedded scripting Language for haskell app

Stephen Sinclair radarsat1 at gmail.com
Tue Aug 17 22:50:57 EDT 2010

On Tue, Aug 17, 2010 at 6:05 AM, Hemanth Kapila <saihemanth at gmail.com> 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 a lisp-like interpreter that I
> implemented myself. But this is not going too well - going by this road, I
> suspect I will end up with a mule. I am looking for a pony (a declarative
> programming language). I am okay with a donkey too.
> baskell[1] seems interesting. And there's hslua[2].
> Can one use hint[3] like this ?

How about a tiny lisp or scheme interpreter?  Lots of those to choose
from, (including some written in Haskell) and with a few clever macros
you could easily provide a declarative DSL for users to work with.  I
see that you mentioned guile, but even tinyscheme would be pretty
powerful and only add a few K to your project.

This raises the question, what is the smallest (or most embeddable
anyway) Haskell interpreter that can be built?


More information about the Haskell-Cafe mailing list