RSS/Atom feed Twitter
Site is read-only, email is disabled

script-fu-scheme: Full implementation of Scheme?

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

script-fu-scheme: Full implementation of Scheme? Martin Bernreuther 30 Oct 23:18
  script-fu-scheme: Full implementation of Scheme? Nathan Carl Summers 30 Oct 23:32
script-fu-scheme: Full implementation of Scheme? Kevin Myers 30 Oct 23:43
  script-fu-scheme: Full implementation of Scheme? Nathan Carl Summers 30 Oct 23:52
Martin Bernreuther
2002-10-30 23:18:34 UTC (over 21 years ago)

script-fu-scheme: Full implementation of Scheme?

Hello,

the tutorials I found cover a small portion of the Scheme language. Often there's not even a conditional call (if) or loop like (while) explained (but they are nice introductions!).

At http://www.swiss.ai.mit.edu/projects/scheme/documentation/scheme.html there's a reference manual, but I didn't manage to get some functions... to work. How about e.g. the (do) statement or (floor -4.3)
(round -4.3) at scheme_5.html#SEC56 ..? It didn't work at the GIMP 1.2.3 script-fu console

Is there a reference manual of the script-fu implemented Scheme?

Thanks Martin

Nathan Carl Summers
2002-10-30 23:32:52 UTC (over 21 years ago)

script-fu-scheme: Full implementation of Scheme?

On Wed, 30 Oct 2002, Martin Bernreuther wrote:

At http://www.swiss.ai.mit.edu/projects/scheme/documentation/scheme.html there's a reference manual, but I didn't manage to get some functions... to work. How about e.g. the (do) statement or (floor -4.3)
(round -4.3) at scheme_5.html#SEC56 ..? It didn't work at the GIMP 1.2.3 script-fu console

Is there a reference manual of the script-fu implemented Scheme?

Gimp currently uses SIOD, which is a nonstandard implementation of Scheme with some of the standard Scheme functions, some functions imported from C, and some just plain strange stuff (what is the MD5 calculator doing in a "lightweight" scheme implementation?). A hodgepodge of stuff, really. Then, of course, there is the gimp extensions to it, which are rather strange in of themselves...

Anyway, the definative reference for SIOD is now http://people.delphiforums.com/gjc/siod.html (it took some poking around to find that site -- most people refer to an older document at indiana.edu)

Rockwalrus

Kevin Myers
2002-10-30 23:43:04 UTC (over 21 years ago)

script-fu-scheme: Full implementation of Scheme?

However, not all of SIOD is implemented in the GIMP. Specifically, all of the stuff that requires a platform specific implementation is missing. These functions were marked with a "U" in the old Indiana doc. I don't know if that's true on the newer site referenced below.

s/KAM

----- Original Message ----- From: "Nathan Carl Summers"
To: "Martin Bernreuther"
Cc:
Sent: Wednesday, October 30, 2002 4:32 PM Subject: Re: [Gimp-developer] script-fu-scheme: Full implementation of Scheme?

On Wed, 30 Oct 2002, Martin Bernreuther wrote:

At http://www.swiss.ai.mit.edu/projects/scheme/documentation/scheme.html there's a reference manual, but I didn't manage to get some functions... to work. How about e.g. the (do) statement or (floor -4.3)
(round -4.3) at scheme_5.html#SEC56
..? It didn't work at the GIMP 1.2.3 script-fu console

Is there a reference manual of the script-fu implemented Scheme?

Gimp currently uses SIOD, which is a nonstandard implementation of Scheme with some of the standard Scheme functions, some functions imported from C, and some just plain strange stuff (what is the MD5 calculator doing in a "lightweight" scheme implementation?). A hodgepodge of stuff, really. Then, of course, there is the gimp extensions to it, which are rather strange in of themselves...

Anyway, the definative reference for SIOD is now http://people.delphiforums.com/gjc/siod.html (it took some poking around to find that site -- most people refer to an older document at indiana.edu)

Rockwalrus

Nathan Carl Summers
2002-10-30 23:52:26 UTC (over 21 years ago)

script-fu-scheme: Full implementation of Scheme?

On Wed, 30 Oct 2002, Kevin Myers wrote:

However, not all of SIOD is implemented in the GIMP. Specifically, all of the stuff that requires a platform specific implementation is missing. These functions were marked with a "U" in the old Indiana doc. I don't know if that's true on the newer site referenced below.

The big U is in the new doc as well. It's not completely reliable, though -- a few of the big U's are in script-fu, and a few of the functions not marked with a U as missing as well. datlength and datref are the only ones I can remember that aren't marked with a U and aren't present. (Which is annoying, since datref can be useful for parasites.)

Rockwalrus