Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | Use a browser as HTML console |
---|---|
Rating: | |
Latest version: | 0.9.1 |
SHA1 sum: | 01dfab9eeb16847746d920424b216b54e6e384c0 |
Author: | Jan Wielemaker <J.Wielemaker@vu.nl> |
Download URL: | http://www.swi-prolog.org/download/pack/webconsole-*.tgz |
Hi Jan,
Thank you for webconsole. It is a great idea.
Unfortunately with : Windows7 / IE11 / swi 7.37
Control of the browser lost after using flag_table.
And no input focus in the test case age(S)
.
will re-test a new version when available. JAcques
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.9.1 | 01dfab9eeb16847746d920424b216b54e6e384c0 | 103 | http://www.swi-prolog.org/download/pack/webconsole-0.9.1.tgz |
https://www.swi-prolog.org/download/pack/webconsole-0.9.1.tgz | |||
0.9.0 | 945476e6ece3daabfd80783256e7df50ce4ffddd | 1 | http://www.swi-prolog.org/download/pack/webconsole-0.9.0.tgz |
library(webconsole)
-- Use a browser as HTML console
The library(webconsole)
allows for writing classical query/reply
programs that use a web-browser for I/O. The idea behind this library is
that there are a lot of Prolog applications that run a query/answer
dialogue and/or wish to write messages. Most do this to the terminal,
but the terminal is rather old-fashioned and complicated if you want to
display, e.g., a table.
This library opens a browser using wc_start/0. Subsequently, there are predicates
The file examples/demo.pl provides some example queries.
Pack contains 9 files holding a total of 283K bytes.
Great for a proof of concept! With it potential customers can use the expert system from ther browser.
The source code is good structured and easy to understand.
Thanks a lot for this pack!