The version of Syndicate current at the conclusion of Tony Garnock-Jones's PhD research, end-of-2017/start-of-2018.
Go to file
Tony Garnock-Jones 9dee4e3b30 Alpha convert: prospect -> syndicate 2016-04-01 19:53:46 -04:00
examples Alpha convert: prospect -> syndicate 2016-04-01 19:53:46 -04:00
hs Example of nontermination inputs. 2016-03-14 14:31:36 -04:00
js Include expanded code 2016-03-22 12:14:30 -04:00
racket Alpha convert: prospect -> syndicate 2016-04-01 19:53:46 -04:00
README.md Alpha convert: prospect -> syndicate 2016-04-01 19:53:46 -04:00

README.md

Syndicate: A Networked, Concurrent, Functional Programming Language

Syndicate is an actor-based concurrent language able to express communication, enforce isolation, and manage resources. Network-inspired extensions to a functional core represent imperative actions as values, giving side-effects locality and enabling composition of communicating processes.

Collaborating actors are grouped within task-specific networks (a.k.a. virtual machines) to scope their interactions. Conversations between actors are multi-party (using a publish/subscribe medium), and actors can easily participate in many such conversations at once.

Syndicate makes presence notifications an integral part of pub/sub through its shared dataspaces, akin to tuplespaces. Each shared dataspace doubles as the pub/sub subscription table for its network. Actors react to state change notifications reporting changes in a dataspace, including new subscriptions created by peers and removal of subscriptions when a peer exits or crashes. State change notifications serve to communicate changes in demand for and supply of services, both within a single network and across nested layers of networks-within-networks. Programs can give up responsibility for maintaining shared state and for scoping group communications, letting their containing network take on those burdens.

The code

This repository contains a Racket package, syndicate, which includes

Compiling and running the code

You will need Racket version 6.3 or later.

Once you have Racket installed, run

raco pkg install syndicate

to install the package from the Racket package repository, or

raco pkg install

from the root directory of the Git checkout to install the package from a local snapshot. (Alternatively, make link does the same thing.) This will make #lang syndicate available to programs.

At this point, you may load and run any of the example *.rkt files in the syndicate/examples/ directory.

Copyright © Tony Garnock-Jones 2010, 2011, 2012, 2013, 2014, 2015, 2016.