[Haskell-cafe] Embedded scripting Language for haskell app
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:
> 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 seems interesting. And there's hslua.
> Can one use hint 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