mosaic-lang-0.0.2-beta.2 is not a library.
Mosaic
Mosaic is a small compiled language built using cranelift.
Prerequisites
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/shunless a custom path is specified)
Documentation
Documentation can be found in the docs directory or at the Mosaic website.
Supported Targets (tested)
aarch64-apple-darwinApple Silicon iMacs, MacBooks, etc…aarch64-unknown-linux-gnuAny Linux distro with an ARM64 chipx86_64-apple-darwinIntel iMacs, MacBooks, etc…x86_64-unknown-linux-gnuWindows 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.
Planned targets
WASM
Known Bugs (also on the GitHub Repo issues page)
- Defining variables to the result of a
must_freeannotated function leads to the compiler not being able to check that the value was freed.