o
odinpkg.dev
packages / library / fun-with-odin

fun-with-odin

c0dd6f8library

Fun with Odin, to gain the joy of programming

No license · updated 3 months ago

Fun With Odin

Odin examples and experimental simple projects. Embrace the joy of programming.

Exploring Odin Compiler

  • Full compiler help: odin_compiler/odin_run_help.txt (it too long to read in terminal)
  • Using compiler options examples: ./odin_compiler
  • Using compiler as a service: ./entities_codegen
  • Lint and static checkers: vet and families
  • Custom attributes: ols.json and ./entities_codegen

Odin unique and utility features

  • bit_set
  • bit_field
  • Decrimented union
  • Parametic Polyphism (like Generic but more ergonomic)
  • Array programming
  • Field tags
  • Builtin functions
  • Tag for data type
  • Tag for function
  • Function conventions
  • Attributes and custom attributes