users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GProlog by pipe ?


From: Daniel Diaz
Subject: Re: GProlog by pipe ?
Date: Tue, 17 Dec 2002 15:02:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Hi,

maybe you could look at CLPGUI: a Graphical User Interface for Constraint Logic Programming which is based on sockets:

http://contraintes.inria.fr/~fages/CLPGUI/

BTW: you can avoid the W32 GUI console by setting the environment variable LINEDIT with a string containing 'gui=no'
Ex:
   export LINEDIT='gui=no'   (cygwin+bash)
or
   SET LINEDIT='gui=no'      (dos)

in which case the execution is in text console mode.

Finally, you can type 'a' for all solutions under the top-level to obtain all solutions (beware to infinite nb of solutions !).

Bourdeaud'Huy Thomas wrote:
Hi, I'm currently developping a TCL interface to synthesize Petri Nets with constraint programming. The idea is to visualize the results of a prolog constraint resolution. I have a problem concerning the use of gprolog in this interface, because i tried to use a "pipe" openning of gprolog, but it seems like some predicates don't run. In fact, I have deleted the w32guicons.dll file, to obtain a console executable that i could use with the pipe openning. But i don't succeed to consult any file with this version of gprolog, neither in the TCL interface, nor in the gprolog.exe itself. Has someone got the same problem ?

Another problem is that prolog waits for the ";" to list all solutions, but i would like to have all the solutions in one time, in order to keep the hand in the Tcl interface. Is there a way to ask a goal to prolog and to ask it to generate all solutions, a predicate to use for example ? For example, prolog4 answers all solutions without asking for the user to press ";"

Thanks a lot !

_______________________________________________
Users-prolog mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/users-prolog


--
Ce message a subi une analyse antivirus par MailScanner <http://www.mailscanner.info/> ;
il est vraisemblablement sans danger.


------------------------------------------------------------------------

_______________________________________________
Users-prolog mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/users-prolog



--
Ce message a subi une analyse antivirus par MailScanner ; il est vraisemblablement
sans danger.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]