Code Monkey home page Code Monkey logo

omat's Introduction

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.

omat's People

Contributors

cr0a3 avatar

Stargazers

 avatar

Watchers

 avatar

omat's Issues

error_fab.add_where

The function, does not add the number of spaces of the header before (7 | ) to it. That result in some cases this:

error[E0001]: unexpected character
  -->src/main.om:7:1
7 | }
 ^

Error print

There, get a error printed out, when there is a new line.
Example:
error[E0001]: unexpected character -->src/main.om:5:0 5 | std::out.println("Hello World"); ^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.