eyeprolog 1.0.2 → 1.0.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 +7 -6
- package/package.json +1 -1
- package/test/run-regression.mjs +3 -3
package/README.md
CHANGED
|
@@ -5,15 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
EyeProlog turns portable ISO Prolog programs into answers and inspectable proofs.
|
|
7
7
|
|
|
8
|
-
<p
|
|
8
|
+
<p>
|
|
9
9
|
<a href="https://eyereasoner.github.io/eyeprolog/the-art-of-eyeprolog">
|
|
10
|
-
<img src="book-assets/title-page.svg" alt="Read The Art of EyeProlog" width="
|
|
11
|
-
</a>
|
|
10
|
+
<img src="book-assets/title-page.svg" alt="Read The Art of EyeProlog" title="Click to read The Art of EyeProlog" width="320">
|
|
11
|
+
</a><br>
|
|
12
|
+
<strong>Click the cover to read <em>The Art of EyeProlog</em>.</strong>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
|
-
**[
|
|
15
|
-
|
|
16
|
-
**[Playground](https://eyereasoner.github.io/eyeprolog/playground)**
|
|
15
|
+
**[Why EyeProlog?](https://eyereasoner.github.io/eyeprolog/why-eyeprolog)** — Discover its purpose and design.
|
|
16
|
+
|
|
17
|
+
**[Playground](https://eyereasoner.github.io/eyeprolog/playground)** — Run EyeProlog in your browser.
|
|
17
18
|
|
|
18
19
|
The book is the reference for the language, command line, JavaScript API,
|
|
19
20
|
examples, proofs, conformance, and implementation.
|
package/package.json
CHANGED
package/test/run-regression.mjs
CHANGED
|
@@ -580,14 +580,14 @@ function documentationSyncCases() {
|
|
|
580
580
|
run: () => assertArrayEqual(bookEyePrologLibraryNames(), registeredEyePrologLibraryNames(), 'EyeProlog library predicates'),
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
|
-
name: 'README links to the book and the book documents runtime boundaries',
|
|
583
|
+
name: 'README cover links to the book and the book documents runtime boundaries',
|
|
584
584
|
run: () => {
|
|
585
585
|
const readme = fs.readFileSync(path.join(packageRoot, 'README.md'), 'utf8');
|
|
586
586
|
const book = fs.readFileSync(path.join(packageRoot, 'the-art-of-eyeprolog.md'), 'utf8');
|
|
587
587
|
assertIncludes(
|
|
588
588
|
readme,
|
|
589
|
-
'
|
|
590
|
-
'README links to the book',
|
|
589
|
+
'<a href="https://eyereasoner.github.io/eyeprolog/the-art-of-eyeprolog">\n <img src="book-assets/title-page.svg" alt="Read The Art of EyeProlog"',
|
|
590
|
+
'README cover links to the book',
|
|
591
591
|
);
|
|
592
592
|
for (const filename of ['src/iso.js', 'src/eyeprolog-autoload.js', 'src/playground-worker.js']) {
|
|
593
593
|
assertEqual(fs.existsSync(path.join(packageRoot, filename)), true, `${filename} exists`);
|