[Haskell-cafe] haskell-like scripting language

2012-12-17 Thread Christopher Howard
I gave Shelly a try. Pretty cool - using it for some of the scripts on my system. Has me wondering though: is anyone working on creating a actual Haskell-like scripting language and engine? Shelly is cool, as I said, but I imagine it would be more valuable to have another language that is

Re: [Haskell-cafe] haskell-like scripting language

2012-12-17 Thread Evan Laforge
Shelly is cool, as I said, but I imagine it would be more valuable to have another language that is actually separate from Haskell, with an interpreter that is more lightweight and changes much less frequently (than GHC). Something that could be nearly as portable as Bash or Perl. Hugs? It

Re: [Haskell-cafe] Haskell and scripting

2010-05-05 Thread Michael Lazarev
I'm still not always sure how things are done in Haskell, but I'd like to propose another alternative, or, saying more correctly, I'd like to question how real this alternative is. What if scripting would be done with something like lambdabot, mueval or hint? Do scripts always need to be compiled?

Re: [Haskell-cafe] Haskell and scripting

2010-05-05 Thread Pierre-Etienne Meunier
Actually lambdabot and mueval use the GHC api, and hint is supposed to be a wrapper around it. But using the API directly is quite simple, and the scripts are indeed compiled. I believe that the purpose of scripting an application is adding fun factor to it. How many haskell programmers are

Re: [Haskell-cafe] Haskell and scripting

2010-05-04 Thread minh thu
2010/5/4 Limestraël limestr...@gmail.com: ... Minh, Kyle, Gwern, the dyre approach seems to be very interesting too. But if I understood well, we also have to recompile at run-time the configuration haskell script? So the final application (Yi, for instance) will need GHC to be installed to

Re: [Haskell-cafe] Haskell and scripting

2010-05-04 Thread Limestraël
A complete language needs a complete implementation. No, Minh, I was not talking about re-implementing a whole Lisp/Scheme language interpreter in Haskell. (I know there is BTW a Scheme interpreter made in Haskell : http://jonathan.tang.name/files/scheme_in_48/tutorial/overview.html). But what

[Haskell-cafe] Haskell and scripting

2010-05-03 Thread Limestraël
Hello Café, I don't know if you know conkyhttp://en.wikipedia.org/wiki/Conky_%28software%29. It's a well-known open-source system monitor (a software that displays information on the desktop, like CPU frequency, disk usage, network rate, etc.). It is quite good, but it's very descriptive, and

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread Martin Erwig
One of my students has worked on scripting approach in Haskell: http://web.engr.oregonstate.edu/~erwig/papers/abstracts.html#SLE09 -- Martin On May 3, 2010, at 9:51 AM, Limestraël wrote: Hello Café, I don't know if you know conky. It's a well-known open-source system monitor

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread minh thu
Hi, You can take the xmonad approach: the configuration file is written in Haskell and compiled, so no need for another language. Cheers, Thu 2010/5/3 Martin Erwig er...@eecs.oregonstate.edu: One of my students has worked on scripting approach in Haskell:        

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread Kyle Murphy
That's also the approach Yi uses. I'm fairly certain there's a library on hackage that makes writing up programs in that style fairly trivial, although I can't remember the details right now. I'd look up Yi as a starting point. -R. Kyle Murphy -- Curiosity was framed, Ignorance killed the cat.

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread Gwern Branwen
On Mon, May 3, 2010 at 5:47 PM, Kyle Murphy orc...@gmail.com wrote: That's also the approach Yi uses. I'm fairly certain there's a library on hackage that makes writing up programs in that style fairly trivial, http://hackage.haskell.org/package/dyre -- gwern

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread Limestraël
Thank you all, that's very interesting. Martin, I've started reading the paper, I like the way you think about what a scripting language should provide (traceability, error handling and a type system). But, hold me if I'm wrong, but at no moment in the paper you made you own language? It's a

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread zaxis
xmonad is my favorite WM. BTW, why canot i receive any email from its mailinglist (i have subscribed from http://www.haskell.org/mailman/listinfo/xmonad)? minh thu wrote: Hi, You can take the xmonad approach: the configuration file is written in Haskell and compiled, so no need for

Re: [Haskell-cafe] Haskell and scripting

2010-05-03 Thread Martin Erwig
, won't it? I may have misunderstood your goals and what you mean by scripting. Our DSEL is intended to be used for expressing all kinds of scripting tasks. -- Martin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Haskell as scripting language?

2006-02-20 Thread Henning Thielemann
On Wed, 15 Feb 2006, Marc Weber wrote: Is there a way to use haskell as scripting language in a) your own project? b) other projects such as vim (beeing written in C)? For German readers, I put an example of a scripting task on that Wiki:

Re: [Haskell-cafe] Haskell as scripting language?

2006-02-16 Thread Marc Weber
Wow, that easy? Just eval ...? Can't believe it.. Will have look at those examples.. Marc ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell as scripting language?

2006-02-15 Thread Marc Weber
Is there a way to use haskell as scripting language in a) your own project? b) other projects such as vim (beeing written in C)? At the moment I'm interested, I don't have any real project.. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Haskell as scripting language?

2006-02-15 Thread Jared Updike
For scenario (a) you can use hs-plugins and ghc http://www.cse.unsw.edu.au/~dons/hs-plugins/ With hs-plugins you can get an eval command, or you can dynamically load Haskell modules (from source or pre-compiled .o files). GHC (= 6.5) has an API that you can access from Haskell programs:

Re: [Haskell-cafe] Haskell as scripting language?

2006-02-15 Thread Donald Bruce Stewart
jupdike: For scenario (a) you can use hs-plugins and ghc http://www.cse.unsw.edu.au/~dons/hs-plugins/ With hs-plugins you can get an eval command, or you can dynamically load Haskell modules (from source or pre-compiled .o files). GHC (= 6.5) has an API that you can access from Haskell