An explicit affine dependent type theory
https://muro-lang.dev β// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 100/100 with only 5 stars
- 10 releases in the last 90 days
// how to help
// readme
An explicit affine dependent type theory. Elixir parses, checks, and emits .muro. Only run terms become running code. Users do not need Agda.
Muro is built for agents to write. The agent carries the load of formal verification: every type, motive and proof step is written out and nothing is inferred, so mix muro.check either accepts what it wrote or names each definition that fails. Proofs are checked, then erased. Only run terms are emitted: as Elixir for the BEAM, as C with mix muro.emit --backend c, as Rust with mix muro.emit --backend rust, as Zig with mix muro.emit --backend zig, as JavaScript with mix muro.emit --backend js, as an .mbi image for muro-beam with mix muro.emit --backend mbi, or as Cortex-M assembly with mix muro.emit --backend asm, from the same source. The checkerβs soundness is proved in Agda for a fragment of the calculus (see Limits); it is not a proof about every program.