diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 8cb7be9..a0b751e 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -2714,6 +2714,19 @@ main = do `, timeout: 15, }, + q: { + aliases: ["kdb", "kdb+"], + name: "Q", + setup: "cp -R /opt/q ./", + repl: "q/l32/q", + main: "main.q", + run: "q/l32/q main.q", + scope: { + code: `x:123 * 234;`, + }, + template: `1 "Hello, world!\\n"; +`, + }, قلب: { aliases: ["qalb"], name: "قلب", diff --git a/scripts/docker-install-phase4.bash b/scripts/docker-install-phase4.bash index 58ae543..8a98ddf 100755 --- a/scripts/docker-install-phase4.bash +++ b/scripts/docker-install-phase4.bash @@ -291,6 +291,11 @@ chmod +x /opt/mspyls/Microsoft.Python.LanguageServer ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/local/bin/Microsoft.Python.LanguageServer rm Python-Language-Server-linux-x64.*.nupkg +# Q +wget -nv "$(curl -sSL https://kx.com/download-landing-linux/ | grep x86 | grep -Eo 'https://[^"]+linuxx86\.zip')" +unzip -d /opt linuxx86.zip +rm linuxx86.zip + # ReasonML ver="$(latest_release jaredly/reason-language-server)" wget -nv "https://github.com/jaredly/reason-language-server/releases/download/${ver}/rls-linux.zip"