The version of Syndicate current at the conclusion of Tony Garnock-Jones's PhD research, end-of-2017/start-of-2018.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Tony Garnock-Jones 06224b52a8 Repair syndicate/js just like commit 1fa5167 repaired syndicate/rkt. 3 years ago
..
bin syndicatec: exit status 1 on error 5 years ago
compiler Repair syndicate/js just like commit 1fa5167 repaired syndicate/rkt. 3 years ago
dist Initial commit. 5 years ago
examples Web Worker support, based on js-marketplace 4 years ago
src Repair syndicate/js just like commit 1fa5167 repaired syndicate/rkt. 3 years ago
test Fix expected test outputs 5 years ago
third-party Initial commit. 5 years ago
.gitignore Initial commit. 5 years ago
Makefile Factor out clean-examples and freshen-examples targets 5 years ago
README.md Split and rename route.js into trie.js, struct.js and special.js 5 years ago
package.json Fix broken link to ohm-js 5 years ago

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.