Call Xlog in javascript

alex, created Nov 13. 2013 Hello, It's possible to call a xlog sentence in javascript and receive result ? Thanks

Comments

Re: Call Xlog in javascript

Jan Burse, created Nov 14. 2013 Hi Alex, Xlog is not a product, but a company. But the Jekejeke Prolog Runtime is a product. This product is 100% written in Java and easiest called through its programming interface. The programming interface is documented here: Jekejeke Prolog Runtime, Programming Interface A couple of deployment scenarios, including client side and server side, are discussed here: Jekejeke Prolog Runtime, Depoloyment Methods The article above doesn't describe interaction with JavaScript. JavaScript is not Java and you need some bridge. - For client side Jekejeke Prolog interaction with JavaScript in a browser you could use LiveConnect. - For server side Jekejeke Prolog interaction with JavaScript in a browser you could use AJAX. - For other interactions of Jekejeke Prolog with JavaScript you might try Rhino. The above list might be incomplete since it is already a while ago that I have dealt with JavaScript. Bye