Closed willprice closed 7 years ago
Restarted. Note that for most of the work you are better of at swish.swi-prolog.org.
Thanks @JanWielemaker, I'm looking at writing some search visualisations for prolog tutorials using SWISH so digging around all the sites to find out what's possible :)
On 04/21/2017 11:50 AM, Will Price wrote:
Thanks @JanWielemaker https://github.com/JanWielemaker, I'm looking at writing some search visualisations for prolog tutorials using SWISH so digging around all the sites to find out what's possible :)
Animation is not really the strong point of SWISH. Pengines offer more options. But, also SWISH could do it if you write appropriate JavaScript renderers.
Cheers --- Jan
Hi Jan,
Thanks for your opinion on what is possible.
I've decided to take the route of building an API server using SWI prolog's websockets API and the prolog_trace_interception
hook to intercept frames during the search algorithm to get the intermediate agenda state which will the be visualised on the frontend demonstrating the backtracking properties of the algorithm.
Thanks for your work on SWI prolog, it's an excellent project, and I've enjoyed my time using it.
Browsing to http://pengines.swi-prolog.org/
Produces the following error message: