@mojir/dvala 0.0.12 → 0.0.14
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 +10 -14
- package/dist/cli/cli.js +1564 -1227
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -6,20 +6,16 @@ Try it in the [Dvala Playground](https://mojir.github.io/dvala/).
|
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
|
-
- **Algebraic effects**
|
|
10
|
-
- **Serializable continuations**
|
|
11
|
-
- **Time-travel debugging**
|
|
12
|
-
- **
|
|
13
|
-
- **Pure functional**
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
19
|
-
- **JavaScript interoperability** - JavaScript values and functions can be exposed directly in Dvala
|
|
20
|
-
- **Fully serializable** - every Dvala value, including functions and regexps, is JSON-serializable
|
|
21
|
-
- **Structural equality** - objects are compared by value, not by reference
|
|
22
|
-
- **Destructuring** - extract values from complex data structures with ease
|
|
9
|
+
- **Algebraic effects** — `perform` is the only IO boundary; host handlers decide to resume, await, or suspend
|
|
10
|
+
- **Serializable continuations** — Execution state freezes to JSON, resumable across processes and time
|
|
11
|
+
- **Time-travel debugging** — Step backward, jump to any state, explore alternate timelines
|
|
12
|
+
- **Sandboxed execution** — No file system, network, or global access — safe for untrusted code
|
|
13
|
+
- **Pure functional** — Immutable data, no side effects, predictable behavior
|
|
14
|
+
- **Host-controlled IO** — Every side effect goes through the host, who controls what Dvala can access
|
|
15
|
+
- **Expression-based** — Everything returns a value, no statements
|
|
16
|
+
- **First-class functions** — Functions are values that can be passed, returned, and composed
|
|
17
|
+
- **Fully serializable** — Every Dvala value, including functions and regexps, is JSON-serializable
|
|
18
|
+
- **Structural equality** — Objects compared by value, not reference
|
|
23
19
|
|
|
24
20
|
## Installation
|
|
25
21
|
|