[#24] New language: Ante (the esolang)
This commit is contained in:
parent
a56ec90f15
commit
16b62fe340
|
@ -139,6 +139,13 @@ println (* 123 234)`,
|
||||||
main: "main.alg",
|
main: "main.alg",
|
||||||
run: "a68g main.alg",
|
run: "a68g main.alg",
|
||||||
template: `print(("Hello, world!",new line))
|
template: `print(("Hello, world!",new line))
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
antecards: {
|
||||||
|
name: "Ante (Cards)",
|
||||||
|
main: "main.ante",
|
||||||
|
run: `RUBYOPT="-W0" ante-cards main.ante`,
|
||||||
|
template: `9♦8♥J♦A♦2♣3♥7♠J♦A♦7♦J♦J♦A♦3♦J♦5♥6♦4♥J♥A♥6♠6♠J♥A♦8♦J♦A♦8♠J♦A♦3♦J♦A♦6♠J♦A♦8♠J♦A♥3♦2♠J♥A♥2♣6♠J♥
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
apl: {
|
apl: {
|
||||||
|
|
|
@ -33,6 +33,10 @@ mv linux/ada_language_server /usr/local/bin/ada_language_server
|
||||||
mv linux/*.so* /usr/lib/x86_64-linux-gnu/
|
mv linux/*.so* /usr/lib/x86_64-linux-gnu/
|
||||||
rm -rf linux linux-latest.tar.gz
|
rm -rf linux linux-latest.tar.gz
|
||||||
|
|
||||||
|
# Ante (Cards)
|
||||||
|
wget -nv https://github.com/michaeldv/ante/raw/master/ante.rb -O /usr/local/bin/ante-cards
|
||||||
|
chmod +x /usr/local/bin/ante-cards
|
||||||
|
|
||||||
# APL
|
# APL
|
||||||
file="$(curl -sS ftp://ftp.gnu.org/gnu/apl/ | grep -Eo 'apl_[-0-9.]+_amd64.deb$' | sort -rV | head -n1)"
|
file="$(curl -sS ftp://ftp.gnu.org/gnu/apl/ | grep -Eo 'apl_[-0-9.]+_amd64.deb$' | sort -rV | head -n1)"
|
||||||
wget -nv "ftp://ftp.gnu.org/gnu/apl/${file}"
|
wget -nv "ftp://ftp.gnu.org/gnu/apl/${file}"
|
||||||
|
|
Loading…
Reference in New Issue