New language: Hexagony

This commit is contained in:
Radon Rosborough 2020-07-17 20:08:32 -06:00
parent 2abfbf7bc8
commit 84b45388a1
2 changed files with 17 additions and 0 deletions

View File

@ -722,6 +722,20 @@ main = putStrLn "Hello, world!"
compile: "cat main.hcl | yj -cj > main.json",
run: "cat main.json | jq .",
template: `output = "Hello, world!"
`,
},
hexagony: {
aliases: ["hxg", "hex"],
name: "Hexagony",
main: "main.hxg",
run: "/opt/hexagony/interpreter.rb main.hxg",
template: ` H ; e ;
l ; d ; *
; r ; o ; w
l ; ; o ; * 4
3 3 ; @ . >
; 2 3 < \\
4 ; * /
`,
},
ink: {

View File

@ -24,6 +24,9 @@ mv _build/default/bin/erlang_ls /usr/bin/erlang_ls
popd >/dev/null
rm -rf erlang_ls
# Hexagony
git clone https://github.com/m-ender/hexagony.git /opt/hexagony
# Kalyn
git clone https://github.com/raxod502/kalyn.git
pushd kalyn >/dev/null