encyclopegia.org

PlusCal

PlusCal (formerly called +CAL) is a formal specification language created by Leslie Lamport, which transpiles to TLA + . In contrast to TLA + 's action-oriented focus on distributed systems, PlusCal most resembles an imperative programming language and is better-suited when specifying sequential algorithms. PlusCal was designed to replace pseudocode, retaining its simplicity while providing a formally defined and verifiable language. A one-bit clock is written in PlusCal as follows: -- fair algorithm OneBitClock { variable clock \in {0, 1}; { while (TRUE) { if (clock = 0) clock := 1 else clock := 0 } } }

PlusCal (formerly called +CAL) is a formal specification language created by Leslie Lamport, which transpiles to TLA + . In contrast to TLA + 's action-oriented focus on distributed systems, PlusCal most resembles an imperative programming language and is better-suited when specifying sequential algorithms. PlusCal was designed to replace pseudocode, retaining its simplicity while providing a formally defined and verifiable language. A one-bit clock is written in PlusCal as follows: -- fair algorithm OneBitClock { variable clock \in {0, 1}; { while (TRUE) { if (clock = 0) clock := 1 else clock := 0 } } } ==External links== PlusCal tools and documentation are found on the PlusCal Algorithm Language page.

References

No reference rows published for this article.

Cite this article

MLA

"PlusCal." encyclopegia.org, 2026, https://encyclopegia.org/wiki/pluscal. Accessed 24 November 2026.

Chicago

"PlusCal." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/pluscal.

APA

encyclopegia.org. (2026). PlusCal. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/pluscal

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1337621182 · 0.5 · snapshot enwiki-001337621182

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.