diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 28b9589..bf5ac92 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -401,6 +401,7 @@ main() -> main: "main.f", compile: "flang main.f -o main", run: "./main", + lsp: "fortls", template: ` program hello print *, "Hello, world!" end program hello @@ -423,6 +424,7 @@ main() -> main: "main.go", compile: "go build main.go", run: "./main", + lsp: "gopls", template: `package main import "fmt" diff --git a/scripts/docker-install-phase4.bash b/scripts/docker-install-phase4.bash index 70e03ba..024ed34 100755 --- a/scripts/docker-install-phase4.bash +++ b/scripts/docker-install-phase4.bash @@ -34,6 +34,9 @@ npm install -g coffeescript # Elm npm install -g @kachkaev/run-elm +# FORTRAN +pip3 install fortran-language-server + # Perl cpanm -n Devel::REPL diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index 76399e1..f31775a 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -40,6 +40,12 @@ gunzip binary-for-linux-64-bit.gz chmod +x binary-for-linux-64-bit mv binary-for-linux-64-bit /usr/bin/elm +# Go +export GO111MODULE=on +export GOPATH=/tmp/go +mv /tmp/go/bin/gopls /usr/bin/gopls +rm -rf /tmp/go + # Ink cd /tmp wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/ink-linux @@ -74,6 +80,7 @@ wget -nv "${nupkg}" unzip -d /opt/mspyls Python-Language-Server-linux-x64.*.nupkg chmod +x /opt/mspyls/Microsoft.Python.LanguageServer ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/bin/Microsoft.Python.LanguageServer +rm Python-Language-Server-linux-x64.*.nupkg # SNOBOL wget -nv ftp://ftp.snobol4.org/snobol/old/snobol4-2.1.4.tar.gz