English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Français · Español · Русский · العربية
Himari turns one formula asset — written in a LaTeX subset, paper notation, or MATLAB style —
into checked Rust code. The source lowers to a single dimensioned IR, so the same formula can be
evaluated, differentiated, formatted, and emitted as an f64/f32 Rust function, a WGSL kernel, or a
checked-in build.rs artifact — with the seven base quantities (kg·m·s·A·K·mol·cd) checked at
compile time: m + s does not compile. The capability list, the language guide and the error
catalogue live in the documentation.
Quickstart
# once the first version is on crates.io (see Status in the docs):
use formula_matlab;
let v0 = 12.0f64;
let g = 9.80665f64;
let t = 3.0f64;
let v = formula_matlab! ;
assert!; // dimensions checked at compile time
Seven runnable examples live in examples/ — inline macros, unit
conversion, symbolic differentiation, WGSL emission, the error catalogue, matrix idioms and a
cross-file .formula library with a build.rs lane:
Documentation
The full documentation is built from docs/ and published at
https://celestia-island.github.io/himari/. The full English document — the canonical source every
translation is checked against — is docs/en/README.md; each locale mirrors it:
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Français · Español · Русский · العربية
License
Licensed under SySL 1.0; the full SySL NOTICE text
(including model disclosure requirements) lives in docs/en/README.md and
LICENSE.txt.