Historical interest only: A Dataspace-like language and system that led to "Network Calculus" (ESOP 2014) and minimart-2014, in turn a predecessor to Syndicate. https://syndicate-lang.org/papers#gjthf-esop14
Go to file
Karl Johansson f7fa36b80c Point example URLs in README to typeless branch
In the README file, the URLs to code examples are currently pointing to
files in a non-existing master branch. This change updates them to point
to files in an existing branch.
2015-07-05 21:37:04 +02:00
drivers First pass at converting to untyped 2014-08-06 13:24:50 -07:00
examples First pass at converting to untyped 2014-08-06 13:24:50 -07:00
lang First pass at converting to untyped 2014-08-06 13:24:50 -07:00
scribblings Initial hacking on the documentation to make it untyped only. 2014-08-06 17:20:42 -07:00
support Very long strings cause the GUI toolkit to complain 2014-08-06 20:55:38 -07:00
.gitignore Single-collection package. 2013-07-17 12:22:03 -04:00
Makefile Single-collection package. 2013-07-17 12:22:03 -04:00
README.md Point example URLs in README to typeless branch 2015-07-05 21:37:04 +02:00
action-add-endpoint.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
action-delete-endpoint.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
action-quit.rkt Break dependency on web-server-lib 2015-05-23 11:45:15 -04:00
action-send-message.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
action-spawn.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
actions.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
ground.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
info.rkt Break dependency on web-server-lib 2015-05-23 11:45:15 -04:00
list-utils.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
log.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
main.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
nested.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
process.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
quasiqueue.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
roles.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
struct-map.rkt Single-collection package. 2013-07-17 12:22:03 -04:00
structs.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00
sugar.rkt main.rkt exports required from sugar.rkt 2014-08-06 21:22:52 -07:00
test-struct-map.rkt Single-collection package. 2013-07-17 12:22:03 -04:00
unify.rkt Single-collection package. 2013-07-17 12:22:03 -04:00
vm.rkt First pass at converting to untyped 2014-08-06 13:24:50 -07:00

README.md

Marketplace: Bringing the Network into the Programming Language

Marketplace is a 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 programs are grouped within task-specific virtual machines (VMs) to scope their interactions. Conversations between programs are multi-party (using a publish/subscribe medium), and programs can easily participate in many such conversations at once.

Marketplace makes presence notifications an integral part of pub/sub. Programs react to presence and absence notifications that report the comings and goings of their peers. Presence serves to communicate changes in demand for and supply of services, both within a VM and across nested VM layers. Programs can give up responsibility for maintaining presence information and for scoping group communications to their containing VM.

Documentation

A (draft) manual for Marketplace is available here.

The code

This repository contains a Racket package, marketplace, which includes

Compiling and running the code

You will need Racket version 6.1.x or later.

Once you have Racket installed, run

raco pkg install marketplace

to install the package from the Racket package repository, or

raco pkg install --link `pwd`

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 marketplace available to programs.

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

Note that both the echo server and chat server examples do not print any output on standard output: instead, they simply start running and silently await TCP connections. Once one of the servers is running, in a separate window, try telnet localhost 5999.

Note also that both the echo server and the chat server use port 5999, so you cannot run both simultaneously.

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