% python server.py &into your Linux terminal. Then launch XSB and type
| ?- consult(talk). | ?- run.You will get a >> prompt at which you can type natural-language commands, ending in a period or question mark. Typing quit. exits the loop. I've provided an example interaction in grammar.P, which you will modify to do interesting things in English or your favorite natural language. The slides (especially II) from the Prolog NLP section of the course will help you understand how to write grammars to do interesting things. You will also need to look at the documentation for the XSB Prolog Quagent Client package I wrote, to see what sort of behaviors are available.
>> Run 10 steps. Okay >> What do you see? I see three pieces of gold. >> Pick up the closest piece of gold. Okay ...If you like, you can add stuff to the environment by editing the quagent.config file. This page tells you how to do this.