# minirust/minirust

A precise specification for "Rust lite / MIR plus"

Repository: https://github.com/minirust/minirust
Canonical: https://ross.abutalabs.com/products/minirust
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-27T07:10:28+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 35, longevity 100
- inputs: {"age_days": 1565, "days_push": 37, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1008, forks 56 (observed 2026-08-28T04:03:12.624584+00:00)

## What it is
MiniRust is a precise, executable specification of a MIR-like 'core language' for Rust, defining its operational semantics including evaluation order, data representation, and undefined behavior. The spec is written as an interpreter in a Rust-like pseudo-code language called specr lang.

## Use cases
- understand Rust's precise operational semantics
- study what counts as undefined behavior in Rust
- research formal memory models for Rust
- build tools that need a normative Rust semantics reference
- learn how MIR-like core languages are specified

## When to choose
- you need a precise, normative reference for Rust program behavior
- you are doing research on Rust semantics or memory models
- you want an executable specification rather than prose

## When to avoid
- you want to compile or run actual Rust programs
- you need a production Rust toolchain or compiler
- you expect type-safe language guarantees - MiniRust is deliberately not type-safe

## Facets
- artifact type: learning-resource
- maturity: active
- function: interpreter, programming-language
- domain: programming-languages, compilers
- platform: rust, cross-platform
- tags: rust-semantics, mir, formal-specification, undefined-behavior, memory-model, specr-lang, specification, algorithms

## Member repositories
- minirust/minirust (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.624584+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:12.180287+00:00, confidence not recorded.
  - readme: https://github.com/minirust/minirust (fetched 2026-08-28T04:03:12.624584+00:00, sha 088b1c6bea73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
