Jekejeke Prolog 1.3.3 (HTML5/JavaScript plug-in)

Jan Burse, created Dec 27. 2018, modified Jun 10. 2020 Dear All, We just uploaded a new release of Jekejeke Prolog. We made an experiment with a new HTML5/JavaScript plug-in based on the CheerpJ transpiler. - New prolog flag sys_hint: We provide now access to our Prolog flag sys_hint and a new value HINT_WEB (3). This value changes some of the behaviour of the Prolog interpreter so that it can run in the CheerpJ threads which behave as fibers. - New command line option -w: We provide a new command line option -w which sets the Prolog flag sys_hint to HINT_WEB and reduces the GUI until some CheerpJ issues have been resolved. This can already be used to run the Prolog interpreter inside a HTML5/JavaScript page, for example in a Safari Browser on an iPad: <script src=""></script> <script> cheerpjInit(); cheerpjCreateDisplay(800,600); cheerpjRunJar("/app/asterix/interpreter.jar", "-w"); </script> - New applet class: There is a new class jekpro.platform.asterix.AsterixApplet which also sets the Prolog flag sys_hint to HINT_WEB and reduces the GUI. By using the Chrome browser and where the CheerpJ applet runner is available, we can again run our Prolog interpreter inside a HTML5/JavaScript page: <applet archive="interpreter.jar" code="jekpro.platform.asterix.AsterixApplet" width="600" height="520"> Applet could not be loaded. </applet> Disclaimer: We are not affiliated with Leaning Technologies, the provider of CheerpJ, and our technical experiment also does not imply some endorsement. Some benchmarks have revealed that under CheerpJ Java runs 10-15 times slower, so there is still a lot of head room for JavaScript transpilers. Happy coding! Android Appstores: Google Play Download: Jekejeke Runtime