
toy prolog
----------

reference:

https://sites.google.com/site/prologforprogrammers/the-book
This is the original book & sources.
There are more example programs there too.

http://troydm.github.io/blog/2014/01/26/making-30-years-old-pascal-code-run-again/
Here the blogger modifies toy prolog from bsd pascal to fpc.
Using p5x is much more straighforward.

changes from the original:
- assign kernel & programs file names
- strings need to be packed arrays of characters
- used compile time expressions to simplify original code

the demo programs are in their own directories

To start, compile and run toy.p

At the prompt, type

  display('Hello World!'), nl.

  status.

  stop.



test.sh recompiles, and runs hello & planner/cubes demo

