Mosaic is a small compiled language built using cranelift.
Mosaic needs the following libraries to run properly:
- GCC (unless you specify a custom link command every time you run
msc build
) - Rust
- Shell (located at
/bin/sh
unless a custom path is specified)
Documentation can be found in the docs directory or at the Mosaic website.
aarch64-apple-darwin
Apple Silicon iMacs, MacBooks, etc…aarch64-unknown-linux-gnu
Any Linux distro with an ARM64 chipx86_64-apple-darwin
Intel iMacs, MacBooks, etc…x86_64-unknown-linux-gnu
Windows WSL or any Linux distro with an x86_64 chip.
Theoretically, any architecture that cranelift supports and uses traditional UNIX paths (e.g. foo/bar/mod.msc) should work with Mosaic.
WASM
Known Bugs (also on the GitHub Repo issues page)
- Insufficient compiler tracking of pointer lifetimes
leading to problems with the
must_free
annotation (temporarily removed)