@benrogmans/lemma-engine 0.8.3 → 0.8.4
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 +0 -1
- package/lemma.bindings.d.ts +5 -5
- package/lemma.bindings.js +10 -22
- package/lemma.iife.js +1 -1
- package/lemma_bg.wasm +0 -0
- package/lemma_bg.wasm.d.ts +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,7 +73,6 @@ client.didOpen(uri, 'lemma', 1, documentText);
|
|
|
73
73
|
| `schema(spec, effective?)` | `SpecSchema` |
|
|
74
74
|
| `run(spec, rules, facts, effective?)` | `Response` |
|
|
75
75
|
| `format(code, attribute?)` | string or throw |
|
|
76
|
-
| `invert(...)` | throws (N/A) |
|
|
77
76
|
|
|
78
77
|
## Build (maintainers)
|
|
79
78
|
|
package/lemma.bindings.d.ts
CHANGED
|
@@ -103,11 +103,11 @@ export interface InitOutput {
|
|
|
103
103
|
readonly wasmengine_new: () => number;
|
|
104
104
|
readonly wasmengine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
105
105
|
readonly wasmengine_schema: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
106
|
+
readonly __wasm_bindgen_func_elem_9705: (a: number, b: number) => void;
|
|
107
|
+
readonly __wasm_bindgen_func_elem_382: (a: number, b: number) => void;
|
|
108
|
+
readonly __wasm_bindgen_func_elem_10955: (a: number, b: number, c: number, d: number) => void;
|
|
109
|
+
readonly __wasm_bindgen_func_elem_2761: (a: number, b: number, c: number, d: number) => void;
|
|
110
|
+
readonly __wasm_bindgen_func_elem_10958: (a: number, b: number, c: number, d: number) => void;
|
|
111
111
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
112
112
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
113
113
|
readonly __wbindgen_export3: (a: number) => void;
|
package/lemma.bindings.js
CHANGED
|
@@ -365,10 +365,6 @@ function __wbg_get_imports() {
|
|
|
365
365
|
const ret = typeof(val) === 'object' && val !== null;
|
|
366
366
|
return ret;
|
|
367
367
|
},
|
|
368
|
-
__wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
|
|
369
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
370
|
-
return ret;
|
|
371
|
-
},
|
|
372
368
|
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
373
369
|
const ret = getObject(arg0) === undefined;
|
|
374
370
|
return ret;
|
|
@@ -575,10 +571,6 @@ function __wbg_get_imports() {
|
|
|
575
571
|
const ret = new Error();
|
|
576
572
|
return addHeapObject(ret);
|
|
577
573
|
},
|
|
578
|
-
__wbg_new_49d5571bd3f0c4d4: function() {
|
|
579
|
-
const ret = new Map();
|
|
580
|
-
return addHeapObject(ret);
|
|
581
|
-
},
|
|
582
574
|
__wbg_new_5415f704ce1c4eda: function() { return handleError(function () {
|
|
583
575
|
const ret = new URLSearchParams();
|
|
584
576
|
return addHeapObject(ret);
|
|
@@ -618,7 +610,7 @@ function __wbg_get_imports() {
|
|
|
618
610
|
const a = state0.a;
|
|
619
611
|
state0.a = 0;
|
|
620
612
|
try {
|
|
621
|
-
return
|
|
613
|
+
return __wasm_bindgen_func_elem_10958(a, state0.b, arg0, arg1);
|
|
622
614
|
} finally {
|
|
623
615
|
state0.a = a;
|
|
624
616
|
}
|
|
@@ -701,10 +693,6 @@ function __wbg_get_imports() {
|
|
|
701
693
|
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
702
694
|
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
703
695
|
},
|
|
704
|
-
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
705
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
706
|
-
return addHeapObject(ret);
|
|
707
|
-
},
|
|
708
696
|
__wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
|
|
709
697
|
getObject(arg0).headers = getObject(arg1);
|
|
710
698
|
},
|
|
@@ -781,13 +769,13 @@ function __wbg_get_imports() {
|
|
|
781
769
|
return addHeapObject(ret);
|
|
782
770
|
},
|
|
783
771
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
784
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
785
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
772
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1256, function: Function { arguments: [Externref], shim_idx: 1312, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
773
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_9705, __wasm_bindgen_func_elem_10955);
|
|
786
774
|
return addHeapObject(ret);
|
|
787
775
|
},
|
|
788
776
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
789
777
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("IteratorResult<any>")], shim_idx: 8, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
790
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
778
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_382, __wasm_bindgen_func_elem_2761);
|
|
791
779
|
return addHeapObject(ret);
|
|
792
780
|
},
|
|
793
781
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -824,10 +812,10 @@ function __wbg_get_imports() {
|
|
|
824
812
|
};
|
|
825
813
|
}
|
|
826
814
|
|
|
827
|
-
function
|
|
815
|
+
function __wasm_bindgen_func_elem_10955(arg0, arg1, arg2) {
|
|
828
816
|
try {
|
|
829
817
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
830
|
-
wasm.
|
|
818
|
+
wasm.__wasm_bindgen_func_elem_10955(retptr, arg0, arg1, addHeapObject(arg2));
|
|
831
819
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
832
820
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
833
821
|
if (r1) {
|
|
@@ -838,10 +826,10 @@ function __wasm_bindgen_func_elem_10982(arg0, arg1, arg2) {
|
|
|
838
826
|
}
|
|
839
827
|
}
|
|
840
828
|
|
|
841
|
-
function
|
|
829
|
+
function __wasm_bindgen_func_elem_2761(arg0, arg1, arg2) {
|
|
842
830
|
try {
|
|
843
831
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
844
|
-
wasm.
|
|
832
|
+
wasm.__wasm_bindgen_func_elem_2761(retptr, arg0, arg1, addHeapObject(arg2));
|
|
845
833
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
846
834
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
847
835
|
if (r1) {
|
|
@@ -852,8 +840,8 @@ function __wasm_bindgen_func_elem_2764(arg0, arg1, arg2) {
|
|
|
852
840
|
}
|
|
853
841
|
}
|
|
854
842
|
|
|
855
|
-
function
|
|
856
|
-
wasm.
|
|
843
|
+
function __wasm_bindgen_func_elem_10958(arg0, arg1, arg2, arg3) {
|
|
844
|
+
wasm.__wasm_bindgen_func_elem_10958(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
857
845
|
}
|
|
858
846
|
|
|
859
847
|
|