PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

odin

odin

odin is a pl created in 2016.

#261on PLDB 6Years Old 3.6kUsers
0Books 2Papers 417Repos

Try now: Riju

Odin Programming Language


Example 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); }
Example from Riju:
package main import "core:fmt" main :: proc() { fmt.printf("Hello, world!\n"); }
Example from hello-world:
package main import "core:fmt" main :: proc() { fmt.println("Hello World"); }

Language features

Feature Supported Example Token
Strings
"Hello world"
"
Print() Debugging fmt.println
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation ϴ

Publications about odin from Semantic Scholar

title authors year citations influentialCitations
Towards programmable enterprise WLANS with Odin L. Suresh and Julius Schulz-Zander and R. Merz and A. Feldmann and T. Vazão 2012 315 35
Verilog Loop Unrolling, Module Generation, Part-Select and Arithmetic Right Shift Support in Odin II Scott Young and Alexandrea Demmings and N. E. Ivari and Jean-Philippe Legault and K. Kent 2019 1 0
bourne-shell.html · odin.html · bpmn.html

View source

PLDB - Build the next great programming language · v2022 · Day 31 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com