@dallaylaen/ski-interpreter 1.0.0 → 1.0.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 +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,12 +31,12 @@ and can be used in Node.js or in the browser.
|
|
|
31
31
|
|
|
32
32
|
## Starting combinators:
|
|
33
33
|
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
34
|
+
* <code>I x ↦ x</code> _// identity_;
|
|
35
|
+
* <code>K x y ↦ x</code> _//constant_;
|
|
36
|
+
* <code>S x y z ↦ x z (y z)</code> _// fusion_;
|
|
37
|
+
* <code>B x y z ↦ x (y z)</code> _// composition_;
|
|
38
|
+
* <code>C x y z ↦ x z y</code> _// swapping_;
|
|
39
|
+
* <code>W x y ↦ x y y</code> _//duplication_;
|
|
40
40
|
|
|
41
41
|
# Execution strategy
|
|
42
42
|
|
|
@@ -49,7 +49,7 @@ all free variables are bound.
|
|
|
49
49
|
# Installation
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
npm install ski-interpreter
|
|
52
|
+
npm install @dallaylaen/ski-interpreter
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
# Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dallaylaen/ski-interpreter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Simple Kombinator Interpreter - a combinatory logic & lambda calculus parser and interpreter. Supports SKI, BCKW, Church numerals, and setting up assertions ('quests') involving all of the above.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"combinatory logic",
|