[Gimp-developer] script-fu-scheme: Full implementation of Scheme?

2002-10-30 Thread Martin Bernreuther
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
-- 
__
Martin Bernreuther  [EMAIL PROTECTED]

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] script-fu-scheme: Full implementation of Scheme?

2002-10-30 Thread Nathan Carl Summers
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

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] script-fu-scheme: Full implementation of Scheme?

2002-10-30 Thread Kevin Myers
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 [EMAIL PROTECTED]
To: Martin Bernreuther [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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

 ___
 Gimp-developer mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] script-fu-scheme: Full implementation of Scheme?

2002-10-30 Thread Nathan Carl Summers


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

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] script-fu-scheme: Full implementation of Scheme?

2002-10-30 Thread Jeff Trefftzs
I've posted the siod documentation that I use on my website at

http://trefftzs.topcities.com/siod.html

It also shows functions that are not available in the Gimp, but fewer than 
your source. I seem to remember that I had to roll my own floor, ceil, and 
round functions.

Good luck.

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer