diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 290ee8d..87ea76c 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1322,7 +1322,7 @@ func main() { skip: ["lsp"], }, golfscript: { - aliases: ["gs", "golf"], + aliases: ["golf"], name: "GolfScript", main: "main.gs", run: "golfscript main.gs", @@ -2535,6 +2535,20 @@ pipi pikachu timeout: 15, skip: ["lsp"], }, + postscript: { + aliases: ["ps", "gs", "ghostscript"], + name: "PostScript", + repl: "rlwrap gs", + input: `123 234 mul =`, + main: "main.ps", + run: "rlwrap gs main.ps", + scope: { + code: `123 234 mul`, + input: `=`, + }, + template: `(Hello, world!) = +`, + }, powershell: { aliases: ["pwsh", "ps1"], name: "PowerShell", @@ -2582,7 +2596,7 @@ main :- `, }, purescript: { - aliases: ["purs", "pure", "ps"], + aliases: ["purs", "pure"], name: "PureScript", setup: `shopt -s dotglob; cp -R /opt/purescript/project-template/* "$PWD/"`, repl: "spago repl", diff --git a/scripts/docker-install-phase3c.bash b/scripts/docker-install-phase3c.bash index 184822b..164259a 100755 --- a/scripts/docker-install-phase3c.bash +++ b/scripts/docker-install-phase3c.bash @@ -81,6 +81,10 @@ ${pike_name}-doc postgresql postgresql-client +# PostScript +ghostscript +rlwrap + # Prolog swi-prolog