Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-05 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/2/10 03:33 , Permjacov Evgeniy wrote: Forth is quite easy to implement, but can it be used as extension language? Wiki describes it as quite low level... It's low level but rather easy to build up more complex stuff. It's never been that

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-04 Thread Malcolm Wallace
ehm. I missed something and ghc api is well documented and stable ? There are other ways of adding Haskell as a scripting language - bundling ghc is not necessary. It is inacceptable for scripting language, faced to no-programmers. Such languages must be as plain and regular, as

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-04 Thread Luke Palmer
On Thu, Nov 4, 2010 at 5:30 AM, Malcolm Wallace malcolm.wall...@me.com wrote: ehm. I missed something and ghc api is well documented and stable ? There are other ways of adding Haskell as a scripting language - bundling ghc is not necessary. Do tell. It is inacceptable for scripting

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-04 Thread Yves Parès
There are other ways of adding Haskell as a scripting language - bundling ghc is not necessary. Even the program which is to run the scripts is compiled with GHC? I am interested to know how you do that. 2010/11/4 Malcolm Wallace malcolm.wall...@me.com ehm. I missed something and ghc api is

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-04 Thread Malcolm Wallace
On 4 Nov 2010, at 17:52, Luke Palmer wrote: On Thu, Nov 4, 2010 at 5:30 AM, Malcolm Wallace malcolm.wall...@me.com wrote: ehm. I missed something and ghc api is well documented and stable ? There are other ways of adding Haskell as a scripting language - bundling ghc is not necessary.

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-04 Thread Permjacov Evgeniy
ehm. I missed something and ghc api is well documented and stable ? There are other ways of adding Haskell as a scripting language - bundling ghc is not necessary. I still have not found haskell interpreter, that is written in pure haskell and has good quality (i.e. stable, written in stable

[Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Permjacov Evgeniy
Let us think, that we need some scripting language for our pure haskell project and configure-compile-run is not a way. In such a case a reasonably simple, yet standartized and wide known language should be implemented. What such language may be? R(4/5/6)RS ? EcmaScript ? Some other ?

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Miguel Mitrofanov
Ehm... Forth? TCL? Отправлено с iPhone Nov 2, 2010, в 9:04, Permjacov Evgeniy permea...@gmail.com написал(а): Let us think, that we need some scripting language for our pure haskell project and configure-compile-run is not a way. In such a case a reasonably simple, yet standartized and wide

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Permjacov Evgeniy
Forth is quite easy to implement, but can it be used as extension language? Wiki describes it as quite low level... TCL ... Well, I'll consider it if it have written standart, like RxRS does. On 11/02/2010 09:31 AM, Miguel Mitrofanov wrote: Ehm... Forth? TCL? Отправлено с iPhone Nov 2, 2010,

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Gregory Crosswhite
I haven't ever used it myself, but I've heard good things about Lua, which was designed to be an embedded scripting language for applications: http://www.lua.org/ If you believe the Programming Language Shootout (http://shootout.alioth.debian.org/) it is pretty fast for a dynamic

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Yves Parès
Or maybe Lua? There is already a Lua binding on Hackage. I've been advised to use it when I was also looking for a scripting language (and disadvised to use Scheme). 2010/11/2 Permjacov Evgeniy permea...@gmail.com Let us think, that we need some scripting language for our pure haskell project

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Stephen Tetley
Norman Ramsey has implemented Lua as an extension language for ML, this included actually writing a Lua interpreter not FFI-ing to the standard Lua. He has a series of good papers about the mechanics of exposing the API of an application to the scripting language. The code itself is available as

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Lennart Augustsson
I don't understand. Why don't you use Haskell as the scripting language? On Tue, Nov 2, 2010 at 7:04 AM, Permjacov Evgeniy permea...@gmail.com wrote: Let us think, that we need some scripting language for our pure haskell project and configure-compile-run is not a way. In such a case a

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Yves Parès
Because he would have either to recompile the whole program or to use things like hint, both implying that GHC must be installed on the user side (600Mo+ for GHC 6.12.3) 2010/11/2 Lennart Augustsson lenn...@augustsson.net I don't understand. Why don't you use Haskell as the scripting

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Permjacov Evgeniy
ehm. I missed something and ghc api is well documented and stable ? The problem is that haskell is overkill here and it requires esoteric extensions for some tasks (Rank2Types for reflection, for example). It is inacceptable for scripting language, faced to no-programmers. Such languages must be

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Steffen Schuldenzucker
On 11/02/2010 10:40 AM, Yves Parès wrote: Because he would have either to recompile the whole program or to use things like hint, both implying that GHC must be installed on the user side (600Mo+ for GHC 6.12.3) Isn't there a way to use some stripped-down version of ghc and the base libraries,

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Henning Thielemann
Yves Parès schrieb: Because he would have either to recompile the whole program or to use things like hint, both implying that GHC must be installed on the user side (600Mo+ for GHC 6.12.3) Hugs is great for running small Haskell scripts. ___

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Henning Thielemann
On Tue, 2 Nov 2010, Henning Thielemann wrote: Yves Parès schrieb: Because he would have either to recompile the whole program or to use things like hint, both implying that GHC must be installed on the user side (600Mo+ for GHC 6.12.3) Hugs is great for running small Haskell scripts. I

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Alexy Khrabrov
Clojure! Sent from my iPad On Nov 2, 2010, at 2:31, Miguel Mitrofanov miguelim...@yandex.ru wrote: Ehm... Forth? TCL? Отправлено с iPhone Nov 2, 2010, в 9:04, Permjacov Evgeniy permea...@gmail.com написал(а): Let us think, that we need some scripting language for our pure haskell

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Donn Cave
Quoth Henning Thielemann schlepp...@henning-thielemann.de, Hugs is great for running small Haskell scripts. The quotes around scripts are well chosen, since it sounds like you might be using the word in a different sense of `small program', vs. the extension language notion of a programmable

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Brandon Moore
Henning Thielemann, Tue, November 2, 2010 6:11:02 AM Yves Parès schrieb: Because he would have either to recompile the whole program or to use things like hint, both implying that GHC must be installed on the user side (600Mo+ for GHC 6.12.3) Hugs is great for running small Haskell

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Sterling Clover
On Tue, Nov 2, 2010 at 11:08 AM, Donn Cave d...@avvanta.com wrote: The quotes around scripts are well chosen, since it sounds like you might be using the word in a different sense of `small program', vs. the extension language notion of a programmable UI. Haskell's suitability for something

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread John Lask
On 2/11/2010 9:05 PM, Steffen Schuldenzucker wrote: On 11/02/2010 10:40 AM, Yves Parès wrote: Because he would have either to recompile the whole program or to use things like hint, both implying that GHC must be installed on the user side (600Mo+ for GHC 6.12.3) Isn't there a way to use some

Re: [Haskell-cafe] What is simplest extension language to implement?

2010-11-02 Thread Bulat Ziganshin
Hello Permjacov, Tuesday, November 2, 2010, 9:04:00 AM, you wrote: Let us think, that we need some scripting language for our pure haskell project and configure-compile-run is not a way. In such a case a reasonably simple, yet standartized and wide known language should be implemented. What