eyemind 0.2.9 → 0.2.10
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/SPEC.md +4 -4
- package/package.json +1 -1
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ draws conclusions, and every conclusion can come with a proof that a separate
|
|
|
9
9
|
checker verifies against your program. It runs as a command-line program, a
|
|
10
10
|
JavaScript library, and a browser application, with no dependencies.
|
|
11
11
|
|
|
12
|
-
[Guide](https://eyereasoner.github.io/eyemind/GUIDE) · [Playground](https://eyereasoner.github.io/eyemind/playground/) · [Specification](https://eyereasoner.github.io/eyemind/SPEC) · [Conformance](conformance/) · [Examples](https://eyereasoner.github.io/eyemind/examples/)
|
|
12
|
+
[Guide](https://eyereasoner.github.io/eyemind/GUIDE) · [Playground](https://eyereasoner.github.io/eyemind/playground/) · [Specification](https://eyereasoner.github.io/eyemind/SPEC) · [Conformance](https://eyereasoner.github.io/eyemind/conformance/) · [Examples](https://eyereasoner.github.io/eyemind/examples/)
|
|
13
13
|
|
|
14
14
|
The guide shows how to run programs, write rules, check proofs, use the
|
|
15
15
|
library and develop eyemind; the playground runs programs in your browser;
|
package/SPEC.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
```text
|
|
4
4
|
Title: The eyemind Rule Language and Proof Format
|
|
5
|
-
Version: eyemind 0.2.
|
|
5
|
+
Version: eyemind 0.2.10
|
|
6
6
|
```
|
|
7
7
|
|
|
8
8
|
This document specifies the syntax and meaning of eyemind programs and data
|
|
@@ -326,7 +326,7 @@ The basic statement forms are:
|
|
|
326
326
|
of `fact`, `query` and `contradiction` are also defined:
|
|
327
327
|
|
|
328
328
|
```js
|
|
329
|
-
fact(p('a'), p('b'))
|
|
329
|
+
fact(p('a'), p('b')) // Two facts: fact(p('a')); fact(p('b')).
|
|
330
330
|
query(p(X), q(X)) // One query: query([p(X), q(X)]).
|
|
331
331
|
contradiction(p(X), q(X)) // One conjunction that triggers a contradiction.
|
|
332
332
|
```
|
|
@@ -405,8 +405,8 @@ It also applies to a forward head, where the conjunction means several
|
|
|
405
405
|
conclusions. Elsewhere an array denotes list data. For example:
|
|
406
406
|
|
|
407
407
|
```js
|
|
408
|
-
query([p(X), q(X)])
|
|
409
|
-
query(p([X, Y]))
|
|
408
|
+
query([p(X), q(X)]) // Conjunction of two goals.
|
|
409
|
+
query(p([X, Y])) // One goal with a list argument.
|
|
410
410
|
implies(p(X), [q(X), r(X)]) // Two heads.
|
|
411
411
|
```
|
|
412
412
|
|
package/package.json
CHANGED
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// The release this checkout is; ./release keeps it in step with package.json.
|
|
2
|
-
export const VERSION = '0.2.
|
|
2
|
+
export const VERSION = '0.2.10';
|