Paolo Parise - logging the trace

Paolo Parise <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAEirbrVbmqGK8jiS3YktmBvAA7o9=_h-9QVSoWPtLnvDKvcUYA@mail.gmail.com>
I'm Parise Paolo and I've developed a game using Prolog. For demonstration
issues and through your Prolog interpreter gprolog, I want to
execute, using an external program developed in Java (called controller) the
following loop:
1: (gprolog) execute a portion of the game
2: (gprolog) stop the execution and send to the controller the trace,
finally wait for the controller acknowledge
3: (controller) receive and print the trace (call, exit etc..), ack to che
gprolog program
4: (gprolog) ack received, execute the next portion of the game
5: (gprolog) stop the execution and send to the controller the trace,
finally wait for the controller acknowledge
6: (controller) receive and print the trace (call, exit etc..), ack to che
gprolog program
7. ... and so on
Start and stop are messages through a TCP connection but I don't know how
the controller can receive the prolog trace. Does gprolog provide a file
logging (the controller can read the file)? Have you got advices?
Thanks!!
Paolo Parise

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.