Language Specification

Language Specification

The Clef Language Specification defines the syntax and semantics of Clef, a concurrent systems language targeting CPU, GPU, NPU, FPGA, and other accelerators.

The specification is maintained in the clef-lang-spec repository. Use the “Edit this page” and “Discuss this section” links on any spec page to contribute.

Versions

VersionStatusNotes
DraftWorking draftTracks main branch of clef-lang-spec
v0.1PlannedFirst referenceable snapshot

How to Read This Specification

The specification is the normative reference for the Clef language. It uses precise language (SHALL, MUST, MAY) to define required behavior.

For explanatory context and design rationale, see the Design Rationale section, which provides the informative companion layer explaining why the language is designed as it is.