Skip to content
Primmel + OIML SMART

Overview

The Primmel SMART platform documentation

Standards are programs,
not PDFs.

The documentation of the Primmel SMART platform: Primmel, the typed, executable modelling language; the platform machinery that runs it; Primmel SST, the simulated-twin framework; and Confium, the certificate PKI, the basis every 〈scope〉 SMART program is built on.

The platform’s documentation, component by component: the proved foundation, the language, the runtime machinery, the simulated-twin framework, the certificate PKI, and the classroom. A language, the machinery, a framework, a PKI, these are the parts of one platform, not rungs of a ladder. Programs built on the platform document themselves on their own sites.

The language

Primmel

An executable modelling language for SMART standards. Built on the IS–HAS–DOES algebra: eight terms, three closure rules, a one-sort kernel that is a category. The surface vocabulary desugars into composition and application.

The first program

OIML SMART

The International Organization of Legal Metrology's SMART program: executable Recommendations, the OIML-CS certification platform, measuring-instrument twins, CNML certificates, built on the Primmel SMART platform, documented on its own site.

Tracks B–D leave this site: the OIML program volumes they read live at oimlsmart.org.

0
Formal foundations

Read foundation/ first. Proves the IS/HAS/DOES trichotomy is exhaustive, not heuristic.

A
Language designer

foundation/, then primmel/ cover to cover, then platform/.

B
Metamodel maintainer

foundation/, then primmel/ ch 1–7, then oiml-core/ cover to cover (oimlsmart.org).

C
Recommendation author

foundation/ skim, primmel/ ch 1–5, then oiml-core/ ch 1–5 and oiml-rec/ (oimlsmart.org).

D
Scheme operator

primmel/ ch 4–5, oiml-core/ ch 8, then oiml-cs/ cover to cover (oimlsmart.org).


Volume 0 assumes nothing but literacy about formal systems. Volume I assumes Volume 0 (chapter 2 of Volume I operationalizes the formal system). The platform, SST and Confium sections assume Volumes 0–I. The classroom reads across all of them, stop at your depth. The Annexes are reference material, readable out of order.

  • Status markers, ● exists in the running system · ◐ partial · ○ planned in v3.
  • Syntax blocks tagged prl are Primmel v3 syntax.
  • Diagrams are hand-authored SVG in each volume’s diagrams/ directory. Volume 0 extends the palette with teal for kernel/Tier-0 constructs and gray for surface/Tier-1.
  • References to the running system use repo paths relative to the oimlsmart/smart repository.