Odin Programming Language

A fast, concise, readable, pragmatic and open sourced programming language.


Follow @odin-lang Star Watch

The Odin Programming Language

The Odin programming language is fast, concise, readable, pragmatic and open sourced. It is designed with the intent of creating an alterative to C with the following goals:


GitHub: https://github.com/odin-lang/Odin
Discord:Discord Server
Patreon:https://www.patreon.com/gingerbill

Example

package main

import "core:fmt"

main :: proc() {
    program := "+ + * 😃 - /";
    accumulator := 0;

    for token in program {
        switch token {
        case '+': accumulator += 1;
        case '-': accumulator -= 1;
        case '*': accumulator *= 2;
        case '/': accumulator /= 2;
        case '😃': accumulator *= accumulator;
        case: // Ignore everything else
        }
    }

    fmt.printf("The program \"%s\" calculates the value %d\n",
               program, accumulator);
}

Sponsors

Features of Odin