Skip to main content

Semantifyr Language

The Semantifyr Language is the language in which Semantifyr defines semantics. A language's semantics is written once, as a semantic library, and every model of that language becomes a Semantifyr model on the library, which Semantifyr compiles and verifies. The frontends work this way: the SysML v2 and Gamma libraries are written in it, and each frontend maps a model onto its library.

Write in it to define the semantics of a language of your own, or to model a system directly.

  • Lessons: learn the language on a junction of traffic lights, building each step in Live.
  • Language Reference: look up a construct, one construct a page.
  • Compilation: see how the compiler turns a model into the flat model a backend checks.