Skip to content

Toni-Graphics/omat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omat

The omat language

What is omat?

Omat is a simple hobby programming language with a small toolchain and a build system.

The toolchain

At the current build there are 3 programms in the toolchain:

  • oexp
  • opack
  • omatc

Features

  • 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

Installation guide

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

Build the omat toolchain

First, you need to download the source code.

[link to 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.

Releases

No releases published

Packages

No packages published

Languages