New language: GolfScript

This commit is contained in:
Radon Rosborough 2020-07-17 19:06:33 -06:00
parent fd16801ab0
commit f35865a1ca
2 changed files with 13 additions and 0 deletions

View File

@ -707,6 +707,15 @@ import "fmt"
func main() {
fmt.Println("Hello, world!")
}
`,
},
golfscript: {
aliases: ["gs", "golf"],
name: "GolfScript",
monacoLang: "plaintext",
main: "main.gs",
run: "golfscript main.gs",
template: `'Hello, world!'
`,
},
groovy: {

View File

@ -79,6 +79,10 @@ go get golang.org/x/tools/gopls@latest
mv go/bin/gopls /usr/bin/gopls
rm -rf go
# GolfScript
wget -nv http://www.golfscript.com/golfscript/golfscript.rb -O /usr/bin/golfscript
chmod +x /usr/bin/golfscript
# Haskell
wget -nv https://get.haskellstack.org/stable/linux-x86_64-static.tar.gz
tar -xf linux-x86_64-static.tar.gz