eyereasoner 1.3.0 → 1.4.0
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 +10 -4
- package/dist/eye.pl.js +1 -1
- package/dist/swipl-bundled.temp.js +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# EYE JS
|
|
2
|
-
Distributing the [EYE](https://github.com/
|
|
2
|
+
Distributing the [EYE](https://github.com/eyereasoner/eye) reasoner for browser and node using WebAssembly.
|
|
3
3
|
|
|
4
4
|
[](https://github.com/eyereasoner/eye-js/blob/master/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/eyereasoner)
|
|
@@ -120,14 +120,20 @@ async function main() {
|
|
|
120
120
|
Module.FS.writeFile('data.n3', data);
|
|
121
121
|
Module.FS.writeFile('query.n3', query);
|
|
122
122
|
|
|
123
|
-
// Execute main(['--quiet', './data.n3', '--query', './query.n3']).
|
|
124
|
-
queryOnce(Module, 'main', ['--quiet', './data.n3', '--query', './query.n3']);
|
|
123
|
+
// Execute main(['--nope', '--quiet', './data.n3', '--query', './query.n3']).
|
|
124
|
+
queryOnce(Module, 'main', ['--nope', '--quiet', './data.n3', '--query', './query.n3']);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
main();
|
|
128
|
-
|
|
129
128
|
```
|
|
130
129
|
|
|
130
|
+
## Selecting the `SWIPL` module
|
|
131
|
+
|
|
132
|
+
The `SWIPL` module exported from this library is a build that inlines WebAssembly and data strings in order to be
|
|
133
|
+
isomorphic across browser and node without requiring any bundlers. Some users may wish to have more fine-grained control
|
|
134
|
+
over their SWIPL module; for instance in order to load the `.wasm` file separately for performance. In these cases
|
|
135
|
+
see the `SWIPL` modules exported by [npm swipl wasm](https://github.com/rla/npm-swipl-wasm/).
|
|
136
|
+
|
|
131
137
|
## License
|
|
132
138
|
©2022–present
|
|
133
139
|
[Jesse Wright](https://github.com/jeswr),
|