[Haskell-cafe] Haskell as a scripting language.

Olex P hoknamahn at gmail.com
Wed Sep 10 17:30:28 EDT 2008


Hi guys,

Any ideas how to integrate Haskell into other software as scripting engine?
Similarly to Python in Blender or GIMP or to JavaScript in the products from
Adobe. Which possibilities we have?

Cheers,
Alex.

On Wed, Sep 10, 2008 at 10:20 PM, David F. Place <d at vidplace.com> wrote:

> Hi, All.
>
> I needed to make a batch of edits to some input files after a big change
> in my program.  Normally, one would choose some scripting language, but
> I can't bear to program in them.   The nasty thing about using Haskell
> is that giving regexes as string constants sometime requires two levels
> of quoting.  For instance. (mkRegex "\\\\\\\\") matches \\.
>
> To get around that, I put the regexes in the head of a literate program
> and let the program gobble itself up.  Works great!  I think I'll always
> turn to Haskell for my scripting needs now.
>
> I put the file in the Haskell Pastebin, if you would like to see it.
>
> http://hpaste.org/10249
>
> Cheers, David
>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080910/f37878f6/attachment.htm


More information about the Haskell-Cafe mailing list