syndicate-2017/js
Tony Garnock-Jones 2a5d8ebdd4 Web Worker support, based on js-marketplace 2017-09-16 20:24:12 +01:00
..
bin syndicatec: exit status 1 on error 2016-05-17 13:26:50 -04:00
compiler Rename `actor` to `spawn` in syndicate.js 2017-02-16 14:38:56 -05:00
dist Initial commit. 2016-01-30 21:58:59 -05:00
examples Web Worker support, based on js-marketplace 2017-09-16 20:24:12 +01:00
src Web Worker support, based on js-marketplace 2017-09-16 20:24:12 +01:00
test Fix expected test outputs 2016-08-07 22:44:56 -04:00
third-party Initial commit. 2016-01-30 21:58:59 -05:00
.gitignore Initial commit. 2016-01-30 21:58:59 -05:00
Makefile Factor out clean-examples and freshen-examples targets 2016-06-11 07:00:41 -04:00
README.md Split and rename route.js into trie.js, struct.js and special.js 2016-05-08 11:33:39 -04:00
package.json Fix broken link to ohm-js 2016-12-01 13:14:45 +13:00

README.md

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.

  • randomid.js: Generation of (cryptographically) random base64 strings.

  • trie.js: Implementation of dataspace trie structure.

  • patch.js: Implementation of patches over dataspace tries.

  • mux.js: Use of tries plus patches to build a (de)multiplexing routing structure.

  • dataspace.js: Implementation of core leaf actors and dataspaces.

  • ground.js: Pseudo-dataspace acting as the global outermost context for Syndicate actors.

  • 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.

  • main.js: Main package entry point.