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

fun-with-odin

04b65b8library

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
  • Battery included Odin syntaxes parser for codegen

Campaigning

Gamified learning progress, embracing Joy of Programming (more).

  • campaigns/overview