Re: [Gimp-developer] Gimp <-> prolog interface

2009-12-08 Thread Tor Lillqvist
> Thanks, I believe Python is the solution I was looking for. But if you really wanted to use Prolog, surely Python is quite far from that? Or is there some extension or whatever to Python that allows one to write Prolog-like clauses, a Python-hosted Prolog in a way? (Apparently, yes, there are s

Re: [Gimp-developer] Gimp <-> prolog interface

2009-12-07 Thread Ryan Eisele
js,  Thanks, I believe Python is the solution I was looking for. - Ryan --- On Thu, 12/3/09, Joao S. O. Bueno wrote: From: Joao S. O. Bueno Subject: Re: [Gimp-developer] Gimp <-> prolog interface To: "Ryan Eisele" Cc: gimp-developer@lists.xcf.berkeley.edu Date: Thursday,

Re: [Gimp-developer] Gimp <-> prolog interface

2009-12-03 Thread Joao S. O. Bueno
Hi Ryan - I strongly suggest you learn python instead, and us it for your scripts, instead. It attends eveeryone of yoru requisites: - no dealing with pointers or memory allocation/deallocation - gimp data structures are provided as high level objects - the language syntax even allows for a funci

Re: [Gimp-developer] Gimp <-> prolog interface

2009-12-03 Thread Torsten Neuer
Hi Ryan, > I want to write some plug-ins in Prolog. [...] > > I want to be able to deal with the input and output in the form of a Prolog [...] > Preferring to work in Prolog I need some help from a C programmer to write > this plug-in. I'd appreciate any help from someone who has written a >

[Gimp-developer] Gimp <-> prolog interface

2009-12-02 Thread Ryan Eisele
I want to write some plug-ins in Prolog.  I don't want to deal with any C pointers, while-loops or if-thens.  Although the code below doesn't make use of it, I want to make use of Prolog backtracking in order to find a correct solution through trial-and-error, such as filling a region with a tex