I am giving the Odin programming language a try, I decided to contribute Odin examples to Rosetta Code in the process.
Feel free to improve on the examples if some are not idiomatic Odin style (I'm still learning).
- Address of a variable
- Apply a callback to an array
- Call a foreign-language function
- Check that file exists
- Command-line arguments
- Draw a pixel
- Determine if a string is numeric
- Enumerations
- Factorial
- File input output
- Higher-order functions
- Inheritance/Single
- Memory allocation
- Mouse position
- Pick random element
- Read a file line by line
- Read entire file
- Search a list
- Singly-linked list/Element definition
- Singly-linked list/Element insertion
- Singly-linked list/Traversal
- String matching
- Sum data type
- Test a function
- Variable size
- Walk a directory/Non-recursively
- Window creation