Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quux00/PlusCal-Examples

Algorithm examples in PlusCal, the algorithm language of Lamport's TLA+
https://github.com/quux00/PlusCal-Examples

Last synced: 3 months ago
JSON representation

Algorithm examples in PlusCal, the algorithm language of Lamport's TLA+

Awesome Lists containing this project

README

        

# Overview

These are examples of algorithms written in PlusCal, the algorithm language for Leslie
Lamport's TLA+ algorithm specification system.

These have been created in the TLA+ Toolbox, so most of the files are supporting files
for running in the Toolbox and using the TLC algorithm verification checker.

The important (non-auto-generated) files for review are those that end in `.tla`, such
as `Euclid/Euclid.tla` and `HourClock/HourClock.tla`.

I've written the part above the line `\* BEGIN TRANSLATION` and the PlusCal code falls
between the `(*` and `*)` comment markers, starting with the `--algorithm XXX` indicator.