SWI-Prolog / npm-swipl-wasm

SWI-Prolog WebAssembly build as a NPM package
https://swi-prolog.github.io/npm-swipl-wasm/latest/index.js
Other
33 stars 3 forks source link

Should swipl-bundle.js be separately released as asset #718

Closed xpxaxsxi closed 3 weeks ago

xpxaxsxi commented 3 weeks ago

I ran the examples here https://wasm.swi-prolog.org/wasm/, and then downloaded locally the Tau-Prolog app, Then I http served locally the TP app, and it worked. Then I realised that now 2024 August the latest swipl-bundle.js is served only as a npm package, isn't this too much to ask a interested Prolog user to get swipl-bundle.js by (in Windows): installing fnm, installing node, creating npm project and finally getting swipl-bundle.js with npm i swipl-wasm

xpxaxsxi commented 3 weeks ago

Sorry I red the README more carefully and figured out that the latest version is released here https://swi-prolog.github.io/npm-swipl-wasm/latest/index.js

jeswr commented 3 weeks ago

FWIW npm also lets you access the distributed files in the code tab on their website https://www.npmjs.com/package/swipl-wasm?activeTab=code