SWI-Prolog / pengines

Pengine and Prolog scratchpad
BSD 2-Clause "Simplified" License
56 stars 16 forks source link

Create a library to add SWISH to your application #1

Open JanWielemaker opened 10 years ago

JanWielemaker commented 10 years ago

It is very simple to add a pengine server to your application. It would be nice if it was about as easy to embed a SWISH shell into your application! We should keep that in mind if we rethink the modularization of this code.

Anniepoo commented 8 years ago

I agree.

Currently at EModelWorks we're using SWISH as a way of cutting down cost of doing low volume, back office queries like banning users. We could expand the number of site functions we could implement like this if we had such a library.

Anniepoo commented 8 years ago

Great idea, but I'd like to see the pengines lib not be quite so tightly coupled to SWISH. Should this be moved to SWISH project?

JanWielemaker commented 8 years ago

Not sure what you mean. This is a bit old topic. SWISH for ClioPatria is basically the type of thing I'd like to see. SWISH is still pretty much in flux though and frequently requires new functionality from the Pengines libs. I see few options to avoid that.

JanWielemaker commented 8 years ago

P.s. SWISH new HTML cells should allow you to program a lot more of the interface interactively in SWISH.

Anniepoo commented 8 years ago

by 'tightly coupled', I mean 'don't forget there are other use cases for Pengines than making a remote shell for humans'.
"should this be moved to SWISH project" - I meant this bug report.

JanWielemaker commented 8 years ago

It is definitely the plan to keep Pengines first and for all for machines. That is why most of the stuff dealing with humans is in pengines_io.pl. If could also be in SWISH, but I think there are other usage scenarios and the connection between the two libraries is too tight to be in different places.