Re: Question
Daniel Diaz <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.bugs |
|---|---|
| Message-ID | <[email protected]> |
First of all this question should be posted to [email protected]. 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 > [email protected] > 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.