The omat language
Omat is a simple hobby programming language with a small toolchain and a build system.
At the current build there are 3 programms in the toolchain:
- oexp
- opack
- omatc
- Static type system
- Safe and fast runtime
- Perfect for os development
- Easy to mix with other languages
- Easy to learn for Rust programmers
- LLVM backend
To install the omat toolchain, you have two ways of doing that. The first one is, to download the prebuilded toolchain for windows, extract it, save it to your disk and then add the bin directory to your system enviroment variables.
[link to prebuilded windows binarys]
When you do not have a windows computer you build the toolchain for yourself
First, you need to download the source code.
The omat toolchain is written in rust, so you need to install rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
than you can go into each subdirectory (not the docs directory) and run:
cargo build --release
Than in each subdirectory (not the docs directory) is a folder with the name target, in there is a folder with the name release
go into that folders and copy the excutable into the bin directory.
After the build you need to add the bin directory to the system enviroment variables.