npm-swipl-wasm icon indicating copy to clipboard operation
npm-swipl-wasm copied to clipboard

SWI-Prolog WebAssembly build as a NPM package

Results 18 npm-swipl-wasm issues
Sort by recently updated
recently updated
newest added

The following question, whether there is a `swipl.js` that provides a command line interface (CLI) has not yet been resolved. `node` is the [nodeJS interpreter](https://nodejs.org/en/download), and `swipl.js` is the SWI-Prolog...

To reduce API rate limiting like in https://github.com/SWI-Prolog/npm-swipl-wasm/actions/runs/5249746009/jobs/9482887365#logs

Should copy the correct build of node and fix #43. TODO: Make sure there is test coverage of this

Caches the `CmakeList.txt` file to take 4-5min off build times. Not sure if it is actually good practice or not to be caching this though (@JanWielemaker ?)

It is causing a lot of test failures.

Per https://swi-prolog.discourse.group/t/wiki-discussion-swi-prolog-in-the-browser-using-wasm/5651/169?u=jeswr. For backwards compatibility I think we should just add an extra CLI arg that points to a folder to copy into the virtual file system prior to image...

Per https://swi-prolog.discourse.group/t/wiki-discussion-swi-prolog-in-the-browser-using-wasm/5651/169?u=jeswr we should be perserving the file name in the `generate-image` utilities.

eye-js should support the same libraries as eye. In order to test that, each of the following swipl queries should return `true`: ``` use_module(library(lists)). ``` ``` use_module(library(gensym)). ``` ``` use_module(library(system))....