swipl-wasm 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ the `.js` file instead.
|
|
|
100
100
|
|
|
101
101
|
## Generating an image
|
|
102
102
|
|
|
103
|
-
Often you will want to bundle a pre-built image of your
|
|
103
|
+
Often you will want to bundle a pre-built image of your Prolog file. The easiest way to do this is using the `swipl-generate` command to generate the image. For example in `./examples/generation` the script: `swipl-generate ./max.pl ./dist/max.ts` will generate a file `./dist/max.ts` which contains the image of `./max.pl`. This file can then be imported into your project and used as follows:
|
|
104
104
|
|
|
105
105
|
```ts
|
|
106
106
|
import SWIPL from './max';
|