Concepts

These pages explain why L4 works the way it does: the choices behind its syntax, how it models legal rules, and what its type system guarantees. Read them after you have tried a feature. For what a keyword does, see the Reference; for step-by-step guides, see the Tutorials.

Language design

  • Design principles: the five principles behind L4, and the style of writing that follows from them.
  • Reading like the law: how L4 borrows from English grammar so that code can be checked against its source text.

Types