id: "odin" name: "Odin" info: year: 2016 desc: "Alternative to C with goals of simplicity, high performance, built for modern systems, and joy of programming" ext: - odin web: home: "https://odin-lang.org/" source: "https://github.com/odin-lang/Odin" category: general mode: compiled platform: [] syntax: lua typing: static paradigm: - imperative usage: [] install: apt: - libllvm11 manual: | install -d "${pkg}/opt" install -d "${pkg}/usr/local/bin" ver="$(latest_release odin-lang/Odin)" wget "https://github.com/odin-lang/Odin/releases/download/${ver}/odin-ubuntu-amd64-${ver}.zip" -O odin.zip unzip odin.zip mv -T ubuntu_artifacts "${pkg}/opt/odin" chmod +x "${pkg}/opt/odin/odin" ln -s /opt/odin/odin "${pkg}/usr/local/bin/" main: "main.odin" template: | package main import "core:fmt" main :: proc() { fmt.printf("Hello, world!\n"); } compile: | odin build main.odin run: | ./main