summaryrefslogtreecommitdiff
path: root/pd_client.pl
AgeCommit message (Collapse)AuthorFilesLines
2012-11-09pd_client: Use atom_codes/2 instead of name/2Benjamin Franzke1-1/+1
As its recommended by the gprolog documentation
2012-11-09pd_client: Add some informative outputBenjamin Franzke1-1/+2
2012-11-08pd_client: Use descriptive paramter names for byte_to_atomBenjamin Franzke1-4/+4
And move byte_to_atom around.
2012-11-08pd_client: Prepend new choice to history in loop()Benjamin Franzke1-5/+5
So that we dont produce a list with an empty list in the initial do-invokation.
2012-11-08Revert "pd_client: Close streams"Benjamin Franzke1-1/+1
This reverts commit 80c9333a5987997362753f992b4d5b665033e6b3. Closing the streams gives following error: error(system_error('Bad file descriptor'),socket_close
2012-11-08pd_client: Use get_code to read only a single byteBenjamin Franzke1-1/+6
2012-11-08pd_client: Close streamsBenjamin Franzke1-1/+1
2012-11-08pd_client: Correctly exit when receiving an eBenjamin Franzke1-1/+1
2012-11-08Add prisoners dilemma prolog clientBenjamin Franzke1-0/+24