The Odin programming language is designed with the intent of creating an alternative to C with the following goals:
  • simplicity
  • high performance
  • built for modern systems
  • joy of programming



Website: https://odin-lang.org/

Documentation:


User Libraries:


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}


Demonstrations:

Recent Activity

Jason
bpunsky
Jason
Blog comment: Odin Goals for 2019
Mikkel
New blog post: Odin Goals for 2019
Ginger Bill
Forum reply: Debugging?
ratchetfreak
New forum thread: Debugging?
Jason
Jason
Neo Ar
Simon Anciaux
Neo Ar
Simon Anciaux