id: "boo" aliases: - "booc" name: "Boo" info: year: 2003 desc: "Object-oriented, statically typed, general-purpose programming language on Microsoft's Common Language Infrastructure" ext: boo web: wiki: "https://en.wikipedia.org/wiki/Boo_(programming_language)" home: "https://boo-language.github.io/" source: "https://github.com/boo-lang/boo" category: general mode: compiled platform: clr syntax: - python - extensible - whitespace typing: - static - dynamic paradigm: - imperative - oo usage: [] install: apt: - mono-runtime - mono-devel manual: | install -d "${pkg}/usr/local/lib" install -d "${pkg}/usr/local/bin" wget https://github.com/boo-lang/boo/releases/download/unstable/boo-latest.zip unzip boo-latest.zip mv -T boo-latest "${pkg}/usr/local/lib/boo" chmod +x "${pkg}/usr/local/lib/boo/booc" "${pkg}/usr/local/lib/boo/booish" ln -s /usr/local/lib/boo/booc /usr/local/lib/boo/booish "${pkg}/usr/local/bin/" setup: | mkdir -p "$HOME/.local/share" touch "$HOME/.local/share/booish_history" repl: | booish main: "main.boo" template: | print "Hello, world!" compile: | booc main.boo run: | mono main.exe; booish