riju/langs/postscript.yaml

30 lines
303 B
YAML

id: "postscript"
aliases:
- "ps"
- "gs"
- "ghostscript"
name: "PostScript"
install:
apt:
- ghostscript
- rlwrap
repl: |
rlwrap gs
input: |
123 234 mul =
main: "main.ps"
template: |
(Hello, world!) =
run: |
rlwrap gs main.ps
scope:
code: |
123 234 mul
input: |
=