Question
Humberto Gomez Solis <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.bugs |
|---|---|
| Message-ID | <Pine.GSO.4.43.0301161013480.7461-100000@mayne> |
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