Mmh, I raised this question some months ago, I thought about Scheme and I&#39;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&#39;t solid enough).<br>
<br>I would add something: who will script for your application?<br>If it is only the developper (i.e. you), you can use whatever language you want.<br>But if the application is intended to be extended by its users (just like modders for games), then it may be preferable to use a -- still good -- but knowed language. Or at least a language that is easy to learn.<br>
Lua is a nice language, totally simple to learn, and made for scripting.<br>Haskell is a über powerful language, but it is much longer to learn.<br>Scheme is simpler to learn than Haskell, but far more &quot;exotic&quot; than Lua.<br>
Anyway, that&#39;s just my opinion.<br><br><br><div class="gmail_quote">2010/8/18 Stephen Sinclair <span dir="ltr">&lt;<a href="mailto:radarsat1@gmail.com">radarsat1@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Aug 17, 2010 at 6:05 AM, Hemanth Kapila &lt;<a href="mailto:saihemanth@gmail.com">saihemanth@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; Can some one please give me a suggestion on the best choice for an embedded<br>
&gt; scripting Language for a haskell application?<br>
&gt; I mean, something like guile/lua for c/c++ and groovy/jruby for java.<br>
&gt; For quite some time, I&#39;ve been using a lisp-like interpreter that I<br>
&gt; implemented myself. But this is not going too well - going by this road, I<br>
&gt; suspect I will end up with a mule. I am looking for a pony (a declarative<br>
&gt; programming language). I am okay with a donkey too.<br>
&gt; baskell[1] seems interesting. And there&#39;s hslua[2].<br>
&gt; Can one use hint[3] like this ?<br>
<br>
</div>How about a tiny lisp or scheme interpreter?  Lots of those to choose<br>
from, (including some written in Haskell) and with a few clever macros<br>
you could easily provide a declarative DSL for users to work with.  I<br>
see that you mentioned guile, but even tinyscheme would be pretty<br>
powerful and only add a few K to your project.<br>
<br>
This raises the question, what is the smallest (or most embeddable<br>
anyway) Haskell interpreter that can be built?<br>
<br>
Steve<br>
<div><div></div><div class="h5">_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>