New language: Entropy

This commit is contained in:
Radon Rosborough 2020-07-17 18:49:18 -06:00
parent 5006521982
commit 9b87d850b0
2 changed files with 17 additions and 0 deletions

View File

@ -599,6 +599,18 @@ output = "Hello, world!"
all: `set -o pipefail; (curl -sS https://elpa.gnu.org/packages/ | grep '<td>' | grep -Eo '[^>]+</a>' | grep -Eo '^[^<]+' && curl -sS https://melpa.org/archive.json | jq -r 'keys | .[]') | sort | uniq`,
},
template: `(message "Hello, world!")
`,
},
entropy: {
aliases: ["ent", "entc", "vge"],
name: "Entropy",
monacoLang: "plaintext",
main: "main.vge",
compile: `mono /opt/entropy/entc.exe main.vge | grep -Ev 'WARNING:|Using default' > main.cs && mcs -lib:/opt/entropy -r:Rottytooth.Esolang.Entropy main.cs`,
run: "MONO_PATH=/opt/entropy mono main.exe",
template: `Program MyNamespace MyProgram [
print "Hello, world!";
]
`,
},
erlang: {

View File

@ -55,6 +55,11 @@ gunzip binary-for-linux-64-bit.gz
chmod +x binary-for-linux-64-bit
mv binary-for-linux-64-bit /usr/bin/elm
# Entropy
wget -nv http://danieltemkin.com/Content/Entropy/Entropy.zip
unzip -d /opt/entropy Entropy.zip
rm Entropy.zip
# Erlang
wget -nv https://s3.amazonaws.com/rebar3/rebar3
chmod +x rebar3