bug-prolog
[Top][All Lists]
Advanced

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

Re: Question


From: Daniel Diaz
Subject: Re: Question
Date: Thu, 16 Jan 2003 21:58:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

First of all this question should be posted to address@hidden

You can use:
  gprolog --query-goal 'some_query(X)'

there are other options (--init-goal and --entry-goal).
(try gprolog --help).

More documentation can be found at:

http://gnu-prolog.inria.fr/manual/manual006.html


Humberto Gomez Solis wrote:
Hello,

I am using GNU Prolog for one of my courses. I must mark some students
assignments, therefore, it would be useful for me to write a script to
automate the evaluation process (i.e. let the script run the students'
prolog files and query them). However, I do not know whether this can be
done. I have read the documentation, but I could not find any hint about
this.

In short, what I would like to be able to do is something like this:

                      gprolog file.pl 'some_query(X)'

Could you please tell me if such a thing is possible?

Thank you for any help that you might provide me.

Cheers,
Humberto



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

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






--
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]