New language: Ezhil

This commit is contained in:
Radon Rosborough 2020-08-23 09:47:17 -06:00
parent a7af89cf04
commit fb2334750c
2 changed files with 18 additions and 0 deletions

View File

@ -856,6 +856,16 @@ main() ->
main: "main.exu",
run: "exu main.exu",
template: `puts(1, "Hello, world!\\n")
`,
},
ி: {
aliases: ["ezhil", "ezhili", "ezhuthi", "tamil"],
name: "எழில்",
repl: "ezhili",
main: "main.n",
run: "ezhili main.n; ezhili",
hello: "வணக்கம், உலகமே!",
template: `பதிப்பி "வணக்கம், உலகமே!"
`,
},
factor: {

View File

@ -110,6 +110,14 @@ tar -xf euphor*.tar -C /opt/euphoria --strip-components=1
ln -s /opt/euphoria/bin/exu /usr/bin/
rm euphor*.tar
# Ezhil
wget -nv https://github.com/raxod502/riju-cdn/releases/download/ezhil-2017.08.19/ezhil.tar.gz
tar -xf ezhil.tar.gz
mv ezhil-* /opt/ezhil
cp /opt/ezhil/ezhili /opt/ezhil/ezhuthi/
ln -s /opt/ezhil/ezhuthi/ezhili /usr/local/bin/
rm ezhil.tar.gz
# Factor
ver="$(curl -sSL https://factorcode.org/ | grep -Eo 'release\?os=linux[^>]+>[^<]+' | sed -E 's/[^>]+>//' | head -n1)"
wget -nv "https://downloads.factorcode.org/releases/${ver}/factor-linux-x86-64-${ver}.tar.gz"