odin is an actively used programming language created in 2016.

3Years Old 955Users 0Jobs
  • odin ranks in the top 50% of languages
  • the odin website
  • odin on github
  • odin first appeared in 2016
  • I have 20 facts about odin. what would you like to know? email me and let me know how I can help.

Example code from the web:

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);
}

Last updated November 16th, 2019