[#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"], skip: ["lsp"],
}, },
golfscript: { golfscript: {
aliases: ["gs", "golf"], aliases: ["golf"],
name: "GolfScript", name: "GolfScript",
main: "main.gs", main: "main.gs",
run: "golfscript main.gs", run: "golfscript main.gs",
@ -2535,6 +2535,20 @@ pipi pikachu
timeout: 15, timeout: 15,
skip: ["lsp"], 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: { powershell: {
aliases: ["pwsh", "ps1"], aliases: ["pwsh", "ps1"],
name: "PowerShell", name: "PowerShell",
@ -2582,7 +2596,7 @@ main :-
`, `,
}, },
purescript: { purescript: {
aliases: ["purs", "pure", "ps"], aliases: ["purs", "pure"],
name: "PureScript", name: "PureScript",
setup: `shopt -s dotglob; cp -R /opt/purescript/project-template/* "$PWD/"`, setup: `shopt -s dotglob; cp -R /opt/purescript/project-template/* "$PWD/"`,
repl: "spago repl", repl: "spago repl",

View File

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