A modern, systems programming language focused on clarity and efficiency
To clarify the name "mini" does not mean it aims to be a toy language
To build and run Mini, you need to have Rust and its package manager, Cargo, installed on your system.
If you don't have Rust installed, you can install it via rustup by running the following command in your terminal:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shgit clone https://github.com/nifemibosun/mini-lang.git
cd mini-langcargo build --releaseThis will compile the project and create an optimized executable in the target/release directory.
Once compiled, you can use it to run mini source from your terminal.
so create a mini source call it hello.mini and paste in this code:
func mini() {
println("Hello, Mini\n");
}
To execute a mini source file:
# This compiles the file and output a .exe
.\target\release\mini comp hello.mini# This compiles the file and output a .exe, then it executes the .exe
.\target\release\mini run hello.miniTo see the usage instructions and available flags:
mini --help
# or
mini -hTo display the current version of Mini:
mini --version
# or
mini -vMini is currently in its very early stages.
Contributions are very much welcomed(check the contribution guide for help on how to do so)!