eyeleng 1.0.13 → 1.1.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 +24 -5
- package/dist/browser/eyeleng.browser.js +686 -14
- package/examples/fibonacci.srl +89 -30009
- package/examples/output/bayes-diagnosis.trig +0 -4
- package/examples/output/bmi.trig +0 -2
- package/examples/output/dijkstra.trig +0 -8
- package/examples/output/fibonacci.trig +2 -19996
- package/examples/output/hanoi.trig +0 -10
- package/examples/output/spec-2-5-assignment-with-negation.trig +0 -1
- package/examples/output/sudoku.trig +0 -1
- package/examples/output/turing.trig +0 -5
- package/eyeleng.js +735 -24
- package/package.json +1 -1
- package/reports/w3c-shacl12-rules-earl.ttl +89 -89
- package/src/api.js +4 -1
- package/src/backward.js +535 -0
- package/src/cli.js +49 -10
- package/src/engine.js +69 -5
- package/src/query.js +72 -7
- package/src/store.js +2 -0
- package/test/api.test.js +181 -1
- package/test/cli.test.js +13 -2
- package/test/perf-baseline.json +7 -7
|
@@ -34,16 +34,6 @@ _:http://example/eyeling/hanoi/root-second-second :start 6 .
|
|
|
34
34
|
_:http://example/eyeling/hanoi/root-second-second :startPeg :left .
|
|
35
35
|
_:http://example/eyeling/hanoi/root-second-second :targetPeg :right .
|
|
36
36
|
_:http://example/eyeling/hanoi/root-second-second a :HanoiProblem .
|
|
37
|
-
:level1 :pow2 2 .
|
|
38
|
-
:level10 :pow2 1024 .
|
|
39
|
-
:level2 :pow2 4 .
|
|
40
|
-
:level3 :pow2 8 .
|
|
41
|
-
:level4 :pow2 16 .
|
|
42
|
-
:level5 :pow2 32 .
|
|
43
|
-
:level6 :pow2 64 .
|
|
44
|
-
:level7 :pow2 128 .
|
|
45
|
-
:level8 :pow2 256 .
|
|
46
|
-
:level9 :pow2 512 .
|
|
47
37
|
:move-1 :disk 1 .
|
|
48
38
|
:move-1 :from :left .
|
|
49
39
|
:move-1 :step 1 .
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:route1 :distanceKm 16.0934 .
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
:case1 :hasStep <http://example/eyeling/turing/case1/step-7> .
|
|
14
14
|
:case1 :hasStep <http://example/eyeling/turing/case1/step-8> .
|
|
15
15
|
:case1 :hasStep <http://example/eyeling/turing/case1/step-9> .
|
|
16
|
-
:case1 :output "101010" .
|
|
17
16
|
:case1 :rawOutput "101010#" .
|
|
18
17
|
:case1 :reportLine "101001 + 1 = 101010" .
|
|
19
18
|
:case1 log:outputString "101001 + 1 = 101010" .
|
|
@@ -31,7 +30,6 @@
|
|
|
31
30
|
:case2 :hasStep <http://example/eyeling/turing/case2/step-7> .
|
|
32
31
|
:case2 :hasStep <http://example/eyeling/turing/case2/step-8> .
|
|
33
32
|
:case2 :hasStep <http://example/eyeling/turing/case2/step-9> .
|
|
34
|
-
:case2 :output "110000" .
|
|
35
33
|
:case2 :rawOutput "110000#" .
|
|
36
34
|
:case2 :reportLine "101111 + 1 = 110000" .
|
|
37
35
|
:case2 log:outputString "101111 + 1 = 110000" .
|
|
@@ -51,7 +49,6 @@
|
|
|
51
49
|
:case3 :hasStep <http://example/eyeling/turing/case3/step-7> .
|
|
52
50
|
:case3 :hasStep <http://example/eyeling/turing/case3/step-8> .
|
|
53
51
|
:case3 :hasStep <http://example/eyeling/turing/case3/step-9> .
|
|
54
|
-
:case3 :output "1000000" .
|
|
55
52
|
:case3 :rawOutput "1000000#" .
|
|
56
53
|
:case3 :reportLine "111111 + 1 = 1000000" .
|
|
57
54
|
:case3 log:outputString "111111 + 1 = 1000000" .
|
|
@@ -59,7 +56,6 @@
|
|
|
59
56
|
:case4 :hasStep <http://example/eyeling/turing/case4/step-0> .
|
|
60
57
|
:case4 :hasStep <http://example/eyeling/turing/case4/step-1> .
|
|
61
58
|
:case4 :hasStep <http://example/eyeling/turing/case4/step-2> .
|
|
62
|
-
:case4 :output "1" .
|
|
63
59
|
:case4 :rawOutput "1#" .
|
|
64
60
|
:case4 :reportLine "empty tape + 1 = 1" .
|
|
65
61
|
:case4 log:outputString "empty tape + 1 = 1" .
|
|
@@ -73,7 +69,6 @@
|
|
|
73
69
|
:case5 :hasStep <http://example/eyeling/turing/case5/step-6> .
|
|
74
70
|
:case5 :hasStep <http://example/eyeling/turing/case5/step-7> .
|
|
75
71
|
:case5 :hasStep <http://example/eyeling/turing/case5/step-8> .
|
|
76
|
-
:case5 :output "100001" .
|
|
77
72
|
:case5 :rawOutput "100001#" .
|
|
78
73
|
:case5 :reportLine "100000 + 1 = 100001" .
|
|
79
74
|
:case5 log:outputString "100000 + 1 = 100001" .
|