[Gimp-developer] siod

2003-06-05 Thread Sean Champ
hello;

just thought that some folks might find this of use or interest -- SIOD
packages, for versions up to 3.0 or so, in the CMU AI repository: 

http://www-2.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/scheme/impl/siod/



SIOD docs, too:
  http://www.cs.indiana.edu/scheme-repository/imp/siod.html



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


Re: [Gimp-developer] siod (Script-Fu) string-length limitations

2002-04-12 Thread Sven Neumann

Hi,

Jeff Trefftzs <[EMAIL PROTECTED]> writes:

> (3)  Is there a way to extend the GIMP's version of siod's capabilities to 
> allow strings of arbitrary (large, very large) length in 1.4? (Or, even 
> better, in 1.2.x?)

I'd like to replace our scheme implementation with something more advanced.
The main reason is that I hope to improve error reporting and thus script 
debugging. Guile comes to mind but I don't have any experience with Scheme
engines and I would love to see someone else taking the job of fixing
Script-Fu for 1.4.


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



Re: [Gimp-developer] siod (Script-Fu) string-length limitations

2002-04-12 Thread Nathan C Summers

On Fri, 12 Apr 2002, Jeff Trefftzs wrote:

> (2)  Is there a sensible workaround for the (apparently) limited string
> length?

Have you tried using lists of single charactors instead?  Note quite as 
memory efficient, sure, but you can make a list as big as available 
memory. 

Rockwalrus

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



[Gimp-developer] siod (Script-Fu) string-length limitations

2002-04-12 Thread Jeff Trefftzs

I've been experimenting with building a L-systems script-fu, but have hit a 
seemingly insuperable obstacle.  It seems that there's a built-in limitation 
in siod  that prevents strings from exceeding somewhere between 4050 and  4094 
bytes.  Since L-systems are basically string-rewriting systems, with the 
strings getting longer at each rewrite, this arbitrarily low limit is a real 
PITA.  Indeed, it's a show-stopper.

Despite the known annoyances of trying to do string handling in any lisp-like 
language, I started out using the scheme script-fu instead of perl in hopes of 
making the resulting script usable on windoze machines as well as Linux boxes. 
 But when I finally got things working, the interpreter just dies/hangs when 
the strings start getting too long.  There are no error messages, no core 
dumps, no segfaults -- it just stops, silently.

So my questions are:

(1)  Is the specific version of siod that the GIMP uses documented anywhere?

(2)  Is there a sensible workaround for the (apparently) limited string length?

(3)  Is there a way to extend the GIMP's version of siod's capabilities to 
allow strings of arbitrary (large, very large) length in 1.4? (Or, even 
better, in 1.2.x?)

-- 
--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/home.html Photo galleries



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



Re: [Gimp-developer] SIOD error codes

2001-03-29 Thread Sven Neumann

Hi,

Jason Maskell ([EMAIL PROTECTED]) wrote:
> ERROR: wta to car (errorobj 123324) - Ok, the 123324 is one of my arguments,
> but is the error message supposed to be in English?

Yes, definitely. Translating those kinds of messages (which are even hard
to grok if in english) does not make sense at all.


Salut, Sven

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



Re: [Gimp-developer] SIOD error codes

2001-03-27 Thread Austin Donnelly

On Tuesday, 27 Mar 2001, Simon Budig wrote:

> Jason Maskell ([EMAIL PROTECTED]) wrote:
> > ERROR: wta to car (errorobj 123324) - Ok, the 123324 is one of my arguments,
> > but is the error message supposed to be in English?
> 
> I am not sure, what exactly "wta" stands for, but at a first glance
> I'd say, that you try to do something like (car 123324), but car
> is only possible on lists and cons.

At a guess, wta means "wrong type for argument"

I agree the message is pretty useless: you need to know what it means
before you can understand it :)

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



Re: [Gimp-developer] SIOD error codes

2001-03-26 Thread Simon Budig

Jason Maskell ([EMAIL PROTECTED]) wrote:
> ERROR: wta to car (errorobj 123324) - Ok, the 123324 is one of my arguments,
> but is the error message supposed to be in English?

I am not sure, what exactly "wta" stands for, but at a first glance
I'd say, that you try to do something like (car 123324), but car
is only possible on lists and cons.

> ERROR: wta(1st) to quotient (errorobj 150) - Again, one of my args, and
> another nonsensical sounding error message..

I'd need to look at the script to actually see whats going on here.

> I looked through the developers Script-Fu FAQ, and a lot of the script-fu
> links are dead.. And I see no good reference to returned errors anywhere -
> anyone have a URL?

Sorry, not really.

> Also, someone mentioned this earlier - does Gimp's batch mode processor
> support color arguments like '(120 120 120)? Or do they need to be converted
> into longs?

No, no - '(120 120 120) is perfectly OK for color arguments.

Bye,
Simon
-- 
  [EMAIL PROTECTED]   http://www.home.unix-ag.org/simon/
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] SIOD error codes

2001-03-26 Thread Jason Maskell

Well, finally got Win32 Gimp to compile (thanks Tor!) and now i am screwing
around trying to get some script-fu working in batch mode.. Currently I am
playing with the SIOD console, and getting very strange error messages..
(Preparing scripts to be run from batch mode).. For instance:

ERROR: wta to car (errorobj 123324) - Ok, the 123324 is one of my arguments,
but is the error message supposed to be in English?

And...

ERROR: wta(1st) to quotient (errorobj 150) - Again, one of my args, and
another nonsensical sounding error message..

I looked through the developers Script-Fu FAQ, and a lot of the script-fu
links are dead.. And I see no good reference to returned errors anywhere -
anyone have a URL?

Also, someone mentioned this earlier - does Gimp's batch mode processor
support color arguments like '(120 120 120)? Or do they need to be converted
into longs?

Cheers,
Jason


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