CBCL / DocumentationDocs v0.3.1

A protocol language protocol language

Common Business Communication Language (CBCL) defines the messages that participants can send. Each receiver checks the messages and calculates state from the acts it accepts.

Quick start — start with JavaScript or Rust.

Start with the CBCL concepts to learn how a protocol works.

Install your first dialect

Build a receiver

Write a poll dialect. Build its receiver in JavaScript or Rust. Send a vote before its proposal. Check the verdict after each message arrives.

Work with a thread

Count a vote to follow a lunch poll from its first proposal to its tally. Change one rule. Check which message fails.

How a thread becomes state explains what the host authenticates, admits and stores.

Examine CBCL at the terminal to parse messages and check dialect files.

Language reference

Look up a language form or read an annotated dialect.