parent
c1f493b976
commit
3603c93eec
|
@ -2042,6 +2042,29 @@ PLEASE GIVE UP
|
|||
template: `body:before {
|
||||
content: "Hello, world!";
|
||||
}
|
||||
`,
|
||||
},
|
||||
limbo: {
|
||||
aliases: ["inferno"],
|
||||
name: "Limbo",
|
||||
setup: "ln -s /usr/local/inferno/* ./",
|
||||
main: "riju/main.b",
|
||||
compile: "limbo -o riju/main.dis riju/main.b",
|
||||
run: `emu -r . riju/main.dis`,
|
||||
template: `implement Cmd;
|
||||
|
||||
include "sys.m";
|
||||
include "draw.m";
|
||||
|
||||
Cmd : module {
|
||||
init : fn (ctxt : ref Draw->Context, args : list of string);
|
||||
};
|
||||
|
||||
init(nil : ref Draw->Context, nil : list of string)
|
||||
{
|
||||
sys := load Sys Sys->PATH;
|
||||
sys->print("Hello, world!\\n");
|
||||
}
|
||||
`,
|
||||
},
|
||||
lisaac: {
|
||||
|
|
|
@ -98,6 +98,12 @@ julia
|
|||
# Ksh
|
||||
ksh
|
||||
|
||||
# Limbo
|
||||
gcc
|
||||
libc6-dev-i386
|
||||
libx11-dev:i386
|
||||
libxext-dev:i386
|
||||
|
||||
# Lisaac
|
||||
lisaac
|
||||
|
||||
|
|
|
@ -81,6 +81,17 @@ mv lazyk /usr/local/bin/
|
|||
popd >/dev/null
|
||||
rm -rf lazyk
|
||||
|
||||
# Limbo
|
||||
wget -nv "$(curl -sSL http://www.vitanuova.com/inferno/downloads.html | grep -E 'inferno-[0-9]+\.tgz' | grep -Eo 'http://[^"]+')"
|
||||
tar -xf inferno-*.tgz -C /usr/local
|
||||
pushd /usr/local/inferno >/dev/null
|
||||
sed -i 's/gcc/gcc -m32/g' makemk.sh
|
||||
./makemk.sh
|
||||
PATH="$PWD/Linux/386/bin:$PATH" mk install
|
||||
ln -s "$PWD/Linux/386/bin/emu" "$PWD/Linux/386/bin/limbo" /usr/local/bin/
|
||||
popd >/dev/null
|
||||
rm inferno-*.tgz
|
||||
|
||||
# LOLCODE
|
||||
git clone https://github.com/justinmeza/lci.git
|
||||
pushd lci >/dev/null
|
||||
|
|
Loading…
Reference in New Issue