@raviqqe/stak 0.11.0 → 0.11.2
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 +1 -1
- package/package.json +2 -2
- package/stak_wasm.d.ts +2 -2
- package/stak_wasm.js +7 -7
- package/stak_wasm_bg.wasm +0 -0
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ fn run_scheme(module: &UniversalModule) -> Result<(), EngineError> {
|
|
|
160
160
|
("person-throw-pie", r#fn(Person::throw_pie)),
|
|
161
161
|
];
|
|
162
162
|
// Initialize the engine.
|
|
163
|
-
let mut engine = Engine::new(heap
|
|
163
|
+
let mut engine = Engine::new(&mut heap, &mut functions)?;
|
|
164
164
|
|
|
165
165
|
// Finally, run the module!
|
|
166
166
|
engine.run(module)
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "@raviqqe/stak",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Stak Scheme in WebAssembly",
|
|
5
|
-
"version": "0.11.
|
|
6
|
-
"license": "
|
|
5
|
+
"version": "0.11.2",
|
|
6
|
+
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/raviqqe/stak"
|
package/stak_wasm.d.ts
CHANGED
|
@@ -33,8 +33,8 @@ export interface InitOutput {
|
|
|
33
33
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
34
34
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
35
35
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
36
|
+
readonly closure33_externref_shim: (a: number, b: number, c: any) => void;
|
|
37
|
+
readonly closure55_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
38
38
|
readonly __wbindgen_start: () => void;
|
|
39
39
|
}
|
|
40
40
|
|
package/stak_wasm.js
CHANGED
|
@@ -283,11 +283,11 @@ export function run(source, input, heap_size) {
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
function __wbg_adapter_24(arg0, arg1, arg2) {
|
|
286
|
-
wasm.
|
|
286
|
+
wasm.closure33_externref_shim(arg0, arg1, arg2);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
function __wbg_adapter_45(arg0, arg1, arg2, arg3) {
|
|
290
|
-
wasm.
|
|
290
|
+
wasm.closure55_externref_shim(arg0, arg1, arg2, arg3);
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
async function __wbg_load(module, imports) {
|
|
@@ -361,7 +361,7 @@ function __wbg_get_imports() {
|
|
|
361
361
|
const ret = arg0.queueMicrotask;
|
|
362
362
|
return ret;
|
|
363
363
|
};
|
|
364
|
-
imports.wbg.
|
|
364
|
+
imports.wbg.__wbg_readstdin_31e0151d0a7eb32a = function() {
|
|
365
365
|
const ret = read_stdin();
|
|
366
366
|
return ret;
|
|
367
367
|
};
|
|
@@ -393,11 +393,11 @@ function __wbg_get_imports() {
|
|
|
393
393
|
const ret = arg0.then(arg1, arg2);
|
|
394
394
|
return ret;
|
|
395
395
|
};
|
|
396
|
-
imports.wbg.
|
|
396
|
+
imports.wbg.__wbg_writestderr_fc2f8f78f877a0d0 = function(arg0) {
|
|
397
397
|
const ret = write_stderr(arg0);
|
|
398
398
|
return ret;
|
|
399
399
|
};
|
|
400
|
-
imports.wbg.
|
|
400
|
+
imports.wbg.__wbg_writestdout_251ba3f764e5d03e = function(arg0) {
|
|
401
401
|
const ret = write_stdout(arg0);
|
|
402
402
|
return ret;
|
|
403
403
|
};
|
|
@@ -410,8 +410,8 @@ function __wbg_get_imports() {
|
|
|
410
410
|
const ret = false;
|
|
411
411
|
return ret;
|
|
412
412
|
};
|
|
413
|
-
imports.wbg.
|
|
414
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
413
|
+
imports.wbg.__wbindgen_closure_wrapper83 = function(arg0, arg1, arg2) {
|
|
414
|
+
const ret = makeMutClosure(arg0, arg1, 34, __wbg_adapter_24);
|
|
415
415
|
return ret;
|
|
416
416
|
};
|
|
417
417
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/stak_wasm_bg.wasm
CHANGED
|
Binary file
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Yota Toyama, Samuel Yvon, Léonard Oest O'Leary, Mathis Laroche, Marc Feeley, Alex Shinn, the R7RS authors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|