@mojir/dvala 0.0.13 → 0.0.15

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.
Files changed (3) hide show
  1. package/README.md +10 -14
  2. package/dist/cli/cli.js +1550 -1252
  3. package/package.json +2 -1
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** - `perform` is the only IO boundary; host-side handlers in JavaScript decide whether to resume synchronously, resolve asynchronously, or suspend the VM entirely
10
- - **Serializable continuations** - when a handler suspends, the entire execution state freezes to a JSON blob; store it anywhere and resume across processes, machines, and time
11
- - **Time-travel debugging** - step backward through any execution, jump to any captured state, and explore alternate timelines by re-running from any point with a different value
12
- - **Parallel & race** - run effects concurrently with `parallel` (waits for all) and `race` (takes the first to complete, cancelling the rest)
13
- - **Pure functional** - immutable data and no side effects; variables cannot be changed, ensuring predictable behavior
14
- - **Expression-based syntax** - everything returns a value; no statements, making the language composable and consistent
15
- - **Sandboxed** - no file system, network, or global access unless the host explicitly provides it — safe for user-supplied code
16
- - **Algebraic notation** - all operators can be used as functions, and binary functions can be used as operators
17
- - **First-class functions** - functions are values that can be passed, returned, and composed freely
18
- - **Comprehensive standard library** - rich set of functions for collections, math, strings, regular expressions, and more
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