On Jan 8, 3:05 am, Dennis Ruffer <druf...@[EMAIL PROTECTED]
> wrote:
....
> There are many examples of calling external libraries from gforth, a
> few even in the distribution itself. Look at the Unix subdirectory for
> time.fs and see if you can load that. You may have to also load the
> lib.fs sup****t and you may need to point it to the correct library on
> your system.
Thanks a lot, plan to. I admit foolish ignorance of that.
> The GUI side of your question gets to be a little more complex...
What I was thinking of was cobbling something onto gforth (or for that
matter any *nix forth) that will allow construction of simple
rudimentary GUI's. I am kind of hoping someone's got code out there
already but if it isn't there it's no worry. It's only a pet hobby
project.
If it doesn't exist my plan was to create some basic words to call X
direct, given that it's almost certainly going to be the lowest common
denominator on any graphics capable unix box, but that's going to be a
tad bit painful I guess.
I believe rebol does this but having no source I'm not completely
sure.
Although maybe I should think of calling something like GTK+, but that
means depending on another set of libraries. I guess most people will
have GTK+.
That's kind of why I was wondering about calling C amongst other
reasons.
I'll let you know how I get on, do a bit more searching and if I get
gforth hooked up successfully to X or GTK+ I'll holler out, but for
now, real life is catching up heh:)
Robert


|