[#24] New language: REBOL

This commit is contained in:
Radon Rosborough 2020-10-03 21:07:38 -07:00
parent 08a7dbdaee
commit d9f9d3817a
2 changed files with 18 additions and 0 deletions

View File

@ -2789,6 +2789,17 @@ end
`,
skip: ["lsp"],
},
rebol: {
name: "REBOL",
repl: "rebol",
main: "main.r",
run: "rebol main.r; rebol",
runReplInput: `DELAY: 1
123 * 234`,
template: `REBOL [Title: "Main"]
print "Hello, world!"
`,
},
redis: {
name: "Redis",
monacoLang: "redis",

View File

@ -292,6 +292,13 @@ unzip rls-linux.zip
mv rls-linux/reason-language-server /usr/local/bin/
rm rls-linux.zip
# Rebol
file="$(curl -sSL http://www.rebol.com/downloads.html | sed '0,/x86-64/d' | head -n10 | grep -Eo 'downloads/[^"]+')"
wget -nv "http://www.rebol.com/${file}"
tar -xf rebol-core-*.tar.gz
mv rebol-core/rebol /usr/local/bin/
rm -rf rebol-core rebol-core-*.tar.gz
# Rust
export CARGO_HOME=/opt/rust
export RUSTUP_HOME=/opt/rust