New language: Hexagony
This commit is contained in:
parent
2abfbf7bc8
commit
84b45388a1
|
@ -722,6 +722,20 @@ main = putStrLn "Hello, world!"
|
||||||
compile: "cat main.hcl | yj -cj > main.json",
|
compile: "cat main.hcl | yj -cj > main.json",
|
||||||
run: "cat main.json | jq .",
|
run: "cat main.json | jq .",
|
||||||
template: `output = "Hello, world!"
|
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: {
|
ink: {
|
||||||
|
|
|
@ -24,6 +24,9 @@ mv _build/default/bin/erlang_ls /usr/bin/erlang_ls
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
rm -rf erlang_ls
|
rm -rf erlang_ls
|
||||||
|
|
||||||
|
# Hexagony
|
||||||
|
git clone https://github.com/m-ender/hexagony.git /opt/hexagony
|
||||||
|
|
||||||
# Kalyn
|
# Kalyn
|
||||||
git clone https://github.com/raxod502/kalyn.git
|
git clone https://github.com/raxod502/kalyn.git
|
||||||
pushd kalyn >/dev/null
|
pushd kalyn >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue