[#24] New language: PostScript

This commit is contained in:
Radon Rosborough 2020-10-03 11:02:36 -07:00
parent ee3bd84943
commit a3e15b67ba
2 changed files with 20 additions and 2 deletions

View File

@ -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",

View File

@ -81,6 +81,10 @@ ${pike_name}-doc
postgresql
postgresql-client
# PostScript
ghostscript
rlwrap
# Prolog
swi-prolog