New language: Boo

This commit is contained in:
Radon Rosborough 2020-08-22 22:25:50 -06:00
parent e5dd562e87
commit b8188be560
2 changed files with 18 additions and 0 deletions

View File

@ -311,6 +311,17 @@ Nude pagoda careens.
run: "cat main.blc | binary-to-text | tromp",
template: `001010100100100001100101011011000110110001101111001011000010
000001110111011011110111001001101100011001000010000100001010
`,
},
boo: {
aliases: ["booc"],
name: "Boo",
setup: `mkdir -p "$HOME/.local/share" && touch "$HOME/.local/share/booish_history"`,
main: "main.boo",
repl: "booish",
compile: "booc main.boo",
run: "mono main.exe; booish",
template: `print "Hello, world!"
`,
},
brainf: {

View File

@ -39,6 +39,13 @@ wget -nv "ftp://ftp.gnu.org/gnu/apl/${file}"
dpkg -i apl_*_amd64.deb
rm apl_*_amd64.deb
# Boo
wget -nv https://github.com/boo-lang/boo/releases/download/unstable/boo-latest.zip
unzip boo-latest.zip
mv boo-latest /usr/local/lib/boo
chmod +x /usr/local/lib/boo/booc /usr/local/lib/boo/booish
ln -s /usr/local/lib/boo/booc /usr/local/lib/boo/booish /usr/local/bin/
# Clojure
ver="$(latest_release snoe/clojure-lsp)"
wget -nv "https://github.com/snoe/clojure-lsp/releases/download/${ver}/clojure-lsp"