Matlang is a modular, compiler-first reimplementation of a MATLAB-compatible language system.
Matlang is an independent project and is not affiliated with or endorsed by MathWorks. MATLAB is a trademark of The MathWorks, Inc.
Current project intent:
- Build a CLI-first compiler and runtime before any desktop UX work.
- Target a practical MATLAB-compatible core subset for Release 0.1.
- Keep the repository decomposed for long-running multi-AI and human collaboration.
Primary documents:
docs/architecture/OVERVIEW.mddocs/architecture/RUST_WORKSPACE.mddocs/handoff/CURRENT_STATE.md
Current default technical direction:
- Implementation language: Rust
- Execution bring-up path: parser -> semantics -> interpreter -> bytecode VM -> native backend
- Compatibility strategy: explicit feature matrix with documented divergences
- Helper build scripts:
scripts/cargo-msvc.cmdandscripts/cargo-msvc.ps1
Immediate focus:
- Expand semantic binding from first-pass symbols/scopes into real workspace and resolution rules.
- Expand parser and lexer coverage for more MATLAB edge cases and ambiguous forms.
- Broaden fixture coverage and hook it into fuller test runs once
link.exeis available. - Bring up runtime MVP and interpreter.
Current usable CLI surface:
matc parse <file.m>matc check <file.m>
Current public-facing project name:
Matlang- CLI binary currently remains
matc
License:
- Apache License 2.0
Contributors must read:
docs/handoff/CURRENT_STATE.mddocs/handoff/FUTURE_ONLY.md- relevant
SPEC.mdandDECISIONS.mdbefore editing a module