riju/langs/apl.yaml

50 lines
886 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

id: "apl"
name: "APL"
info:
impl: "GNU APL"
year: 1966
desc: "Array-based programming language using large range of special symbols for concision"
ext: apl
web:
wiki: "https://en.wikipedia.org/wiki/APL_(programming_language)"
impl: "https://www.gnu.org/software/apl/"
source: "https://savannah.gnu.org/svn/?group=apl"
category:
- general
mode: interpreted
platform: []
syntax:
- golf
- symbol
typing: dynamic
paradigm:
- array
- functional
- imperative
usage: []
install:
apt:
- libtinfo5
manual: |
wget "ftp://ftp.gnu.org/gnu/apl/$(curl -sS ftp://ftp.gnu.org/gnu/apl/ | grep -Eo 'apl_[-0-9.]+_amd64.deb$' | sort -rV | head -n1)" -O apl.deb
deb:
- apl.deb
repl: |
apl
input: |
123 × 234
main: "main.apl"
template: |
'Hello, world!'
run: |
apl -f main.apl
scope:
code: |
x ← 123 × 234