| Crates.io | mosaic-lang |
| lib.rs | mosaic-lang |
| version | 0.1.0 |
| created_at | 2025-01-10 21:42:02.312969+00 |
| updated_at | 2026-01-08 13:32:02.200533+00 |
| description | A compiler for Mosaic. |
| homepage | |
| repository | https://github.com/ljp-projects/mosaic |
| max_upload_size | |
| id | 1511779 |
| size | 1,960,568 |
WELCOME TRAVELLER
Mosaic is a simple (?) compiled programming language.
I did this. I made this. I wrote it. Thank me later.
(I cannot use the excuse of the common drug known as Caffeine™ because it had no place in the development of Mosaic.)
ld unless a custom linker is specified, forgot how thoughinstall.sh will install the msc binary system-wide and copy tests/std and
tests/core to the appropriate directories for them to be found by the compiler.
All operators are right precedent. ALL OF THEM. EVERY SINGLE ONE.
Operator associavity is all over the place (wait, I think the words got mixed up)
The parser will not be forgiving, just try.
I have thrown you a bone and included my implementations of the stdlib and core
into tests.
Documentation can be found in src/lexer.rs,
src/parser.rs, and src/compiler/cranelift
aarch64-apple-darwin Apple Silicon iMacs, MacBooks, etc…aarch64-unknown-linux-gnu Any Linux distro with an ARM64 chip (worked on a previosu version)x86_64-apple-darwin Intel iMacs, MacBooks, etc… (worked on a previosu version)x86_64-unknown-linux-gnu Windows WSL or any Linux distro with an x86_64 chip. (worked on a previosu version)With extra configuration, compiling on Windows without WSL may be possible.