Examples
⌘K
Ctrl+K
or/
Examples of Odin Code.
Demo File
The original demonstration of Odin in a single file, including numerous examples of concepts and features of the programming language.
Examples
This page contains examples of how certain things can be accomplished in idiomatic Odin, allowing you learn its semantics, as well as how to use parts of the core and vendor package collections.
The code examples are published in the hope they are found useful, and are in the Public Domain or under Odin's zlib license, per your choice.
Assets and third-party libraries are provided under their own license. If in doubt, check the LICENSE* and COPYING* file(s) in a particular directory for clarification.