diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 4773af6..be62d51 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -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: { diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index c7ad8db..251b903 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -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