Inside the RunMat Runtime: a Rust-like compiler pipeline to resolve MATLAB language semantics
Summary
A detailed look at RunMat, a Rust-inspired runtime and compiler for MATLAB-family code, which emphasizes semantic resolution over pure parsing. The post explains a staged pipeline (AST, semantic HIR, MIR, bytecode) that captures MATLAB semantics (nargin, nargout, class behavior, indexing, etc.) to enable reliable execution and tooling, including a project manifest and JIT considerations.