Howdy Folks. I've been looking for a way to have Hugs on a Mac use a GUI toolkit like Tcl/Tk. I prowled through the various GUI libraries listed under the Libraries and Tools For Haskell page under haskell.org and found none that supported Hugs on a Mac. Did I miss something or am I out of luck? Thanks, ---Frank Seaton Taylor
At 15.28 -0800 0-11-11, Frank Seaton Taylor wrote:
I've been looking for a way to have Hugs on a Mac use a GUI toolkit like Tcl/Tk. I prowled through the various GUI libraries listed under the Libraries and Tools For Haskell page under haskell.org and found none that supported Hugs on a Mac. Did I miss something or am I out of luck?
The Hugs port that I and Pablo have done is from the point of view of GUI very no-frills, and does not support any such things: The problem is that such programming is very time-consuming, and we would need somebody that has the time and interest specializing in such programming. (I do not myself even know exactly what Tcl/Tk is, even though I have seen the name showing up here and there in the posts.) In addition, the new MacOS X is coming along, aleady existing in a beta version with GCC available. There appears to be no point in doing any more development for pre-MacOS X, and in addition, the development will probably focus on Hugs STG/GHC. If you want to experiment with GCC under MacOS X, here are some docs: http://developer.apple.com/techpubs/macosx/DeveloperTools/Compiler/Compiler.... http://developer.apple.com/techpubs/macosx/SystemOverview/SystemOverview.pdf Hans Aberg
Hans Aberg writes:
In addition, the new MacOS X is coming along, aleady existing in a beta version with GCC available.
I doubt that would make much difference - the nice thing about Tcl/Tk is its portability. If someone were to spend the time making Tcl/Tk work with Hugs on the Mac, I don't think they'd be wasting their time.
in addition, the development will probably focus on Hugs STG/GHC.
STG-Hugs development has been abandoned - so work on Classic Hugs will not go to waste. -- Alastair Reid
At 13.22 -0700 0-11-13, Alastair Reid wrote:
In addition, the new MacOS X is coming along, aleady existing in a beta version with GCC available.
I doubt that would make much difference - the nice thing about Tcl/Tk is its portability. If someone were to spend the time making Tcl/Tk work with Hugs on the Mac, I don't think they'd be wasting their time.
It is not the Tcl/Tk itself I am worrying about, but the graphics hooks to the MacOS one must provide: What is called "MacOS X" is actually five entirely different OS's running side by side, all having in common that they are run by a Mach 3 kernel: Classic MacOS pre-7 Carbon MacOS 8-9 Cocoa Actual MacOS X Java 4.4BSD Now, one wouldn't want to implement graphics hooks for the pre-MacOS X, because that is too low level. It makes better sense doing it for Cocoa or Java. One might do it for X-windows, too, because there are non-Apple X-windows servers available for MacOS X.
STG-Hugs development has been abandoned - so work on Classic Hugs will not go to waste.
Thank you for pointing this out. So what is the state of art of the Haskell interpreters? Will there be a Haskell interpreter available in the future? Will that be GHI (GHCi)? Hans Aberg * Email: Hans Aberg mailto:haberg@member.ams.org * Home Page: http://www.matematik.su.se/~haberg/ * AMS member listing: http://www.ams.org/cml/
So what is the state of art of the Haskell interpreters? Will there be a Haskell interpreter available in the future? Will that be GHI (GHCi)?
Classic Hugs98 will continue to live, and will remain pretty stable. That is to say, it will incorporate bugfixes, but is unlikely to incorporate further experimental extensions. This is a good thing from the point of view of users, providing a reliable base for learning, teaching, and developing programs in a standardised language. There are already other interpreters for Haskell. `hbi' was the first ever Haskell interpreter, and it is a very good system indeed. `GHCi' will be a new interpreter, to be released sometime around the New Year probably. `hi' is a Hugs-like interactive interface to Haskell compilers, looking very like an interpreter. Regards, Malcolm
At 11.40 +0000 0-11-14, Malcolm Wallace wrote:
Classic Hugs98 will continue to live, and will remain pretty stable. That is to say, it will incorporate bugfixes, but is unlikely to incorporate further experimental extensions. This is a good thing from the point of view of users, providing a reliable base for learning, teaching, and developing programs in a standardised language.
There are already other interpreters for Haskell. `hbi' was the first ever Haskell interpreter, and it is a very good system indeed.
I am curious about this "first ever" wording, because as I recall Hugs has existed a very long time, originating from the Gofer.
`GHCi' will be a new interpreter, to be released sometime around the New Year probably.
Do you know if this interpreter is thread-safe? -- This will be needed for use with AppleEvent's under MacOS (binary data that programs can send to each other). Hans Aberg
| >There are already other interpreters for Haskell. `hbi' was the | >first ever Haskell interpreter, and it is a very good system indeed. | | I am curious about this "first ever" wording, because as I recall Hugs has | existed a very long time, originating from the Gofer. I believe `hbi' has been available as long as the `hbc' compiler, since about 1990. Gofer was first written in about 1991, it became widely available in about 1992, then Hugs was first released on 14 February 1995. (Dates from memory + copyright notices.) | >`GHCi' will be a new interpreter, to be released sometime around the | >New Year probably. | | Do you know if this interpreter is thread-safe? -- This will be needed for | use with AppleEvent's under MacOS (binary data that programs can send to | each other). Since GHCi is very tightly bound to GHC, if the latter is thread-safe (which I believe it is), then the former will be also. For a more definitive answer, you would need to ask the GHC team. Regards, Malcolm
participants (4)
-
Alastair Reid -
Frank Seaton Taylor -
Hans Aberg -
Malcolm Wallace