[#24] New language: Oberon
This commit is contained in:
parent
2fa58a9683
commit
08a7dbdaee
|
@ -2293,6 +2293,22 @@ x`,
|
||||||
compile: "nim compile main.nim",
|
compile: "nim compile main.nim",
|
||||||
run: "./main",
|
run: "./main",
|
||||||
template: `echo "Hello, world!"
|
template: `echo "Hello, world!"
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
oberon: {
|
||||||
|
aliases: ["obn"],
|
||||||
|
name: "Oberon",
|
||||||
|
main: "Main.obn",
|
||||||
|
compile: "obnc Main.obn -o main",
|
||||||
|
run: "./main",
|
||||||
|
template: `MODULE Main;
|
||||||
|
|
||||||
|
IMPORT Out;
|
||||||
|
|
||||||
|
BEGIN
|
||||||
|
Out.String("Hello, world!");
|
||||||
|
Out.Ln;
|
||||||
|
END Main.
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
objectivec: {
|
objectivec: {
|
||||||
|
|
|
@ -46,6 +46,10 @@ nim
|
||||||
nodejs
|
nodejs
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
|
# Oberon
|
||||||
|
clang
|
||||||
|
make
|
||||||
|
|
||||||
# Objective-C
|
# Objective-C
|
||||||
gcc
|
gcc
|
||||||
gnustep-devel
|
gnustep-devel
|
||||||
|
|
|
@ -93,6 +93,16 @@ git clone https://github.com/bipinu/malbolge.git
|
||||||
clang malbolge/malbolge.c -o /usr/local/bin/malbolge
|
clang malbolge/malbolge.c -o /usr/local/bin/malbolge
|
||||||
rm -rf malbolge
|
rm -rf malbolge
|
||||||
|
|
||||||
|
# Oberon
|
||||||
|
file="$(curl -sSL https://miasap.se/obnc/ | grep -F obnc_ | grep -Eo 'obnc_[^"]+' | grep -v win | head -n1)"
|
||||||
|
wget -nv "https://miasap.se/obnc/downloads/${file}"
|
||||||
|
tar -xf obnc_*.tar.gz
|
||||||
|
pushd obnc-* >/dev/null
|
||||||
|
./build
|
||||||
|
./install
|
||||||
|
popd >/dev/null
|
||||||
|
rm -rf obnc_*.tar.gz obnc-*
|
||||||
|
|
||||||
# Ook
|
# Ook
|
||||||
git clone https://git.code.sf.net/p/esco/code esco
|
git clone https://git.code.sf.net/p/esco/code esco
|
||||||
pushd esco >/dev/null
|
pushd esco >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue