2016-01-31 02:58:59 +00:00
|
|
|
# Syndicate-JS: Syndicate for Javascript environments
|
|
|
|
|
|
|
|
## A walk through the code
|
|
|
|
|
|
|
|
Source files in `src/`, from most general to most specific:
|
|
|
|
|
|
|
|
- `reflect.js`: Reflection on function formal parameter lists.
|
|
|
|
- `util.js`: Functions `extend` and `kwApply`.
|
2016-02-07 19:46:42 +00:00
|
|
|
- `randomid.js`: Generation of (cryptographically) random base64 strings.
|
|
|
|
|
2016-05-08 15:33:39 +00:00
|
|
|
- `trie.js`: Implementation of dataspace trie structure.
|
2016-02-07 19:46:42 +00:00
|
|
|
- `patch.js`: Implementation of patches over dataspace tries.
|
|
|
|
- `mux.js`: Use of tries plus patches to build a (de)multiplexing routing structure.
|
2016-04-07 07:42:54 +00:00
|
|
|
- `dataspace.js`: Implementation of core leaf actors and dataspaces.
|
|
|
|
- `ground.js`: Pseudo-dataspace acting as the global outermost context for Syndicate actors.
|
2016-02-07 19:46:42 +00:00
|
|
|
|
|
|
|
- `ack.js`: Utility for detecting when a previous state change has taken effect.
|
|
|
|
- `seal.js`: Immutable container for data, used to hide structure from dataspace tries.
|
|
|
|
|
|
|
|
- `demand-matcher.js`: Tracking and responding to demand and supply expressed as assertions.
|
|
|
|
- `dom-driver.js`: Syndicate driver for displaying DOM fragments on a webpage.
|
|
|
|
- `jquery-driver.js`: Syndicate driver for soliciting jQuery-based DOM events.
|
|
|
|
|
2016-01-31 02:58:59 +00:00
|
|
|
- `main.js`: Main package entry point.
|