docs.rs failed to build mathic-0.3.0-rc.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
🧮 Mathic
A programming language with built-in symbolic algebra, powered by LLVM/MLIR
Features
- Symbolic algebra: declare symbolic variables, compose arithmetic expressions, and evaluate them with concrete values at runtime.
- Statically typed: type-checked at compile time.
Example
df main i32
Prerequisites
LLVM/MLIR 22 is required. After installing, set:
macOS (Homebrew)
You may also need:
Building from source
Requires ~6 GB RAM and ~20 GB disk space.
Installation
Usage
# Create a new project
# Compile and run the project in the current directory (requires src/main.mth)
Options for euler run:
|||
Project Docs
See docs/ for the full project structure and pipeline.
Contributing
See CONTRIBUTING.md.
Status
Early development. Features are added incrementally. The symbolic dialect and its lowering passes are functional but evolving.
Built with ❤️ and 🦀 Rust