riju/langs/ceylon.yaml

43 lines
1.1 KiB
YAML

id: "ceylon"
name: "Ceylon"
info:
year: 2011
desc: "Object-oriented, strongly statically typed programming language with an emphasis on immutability, created by Red Hat"
ext: ceylon
web:
wiki: "https://en.wikipedia.org/wiki/Ceylon_(programming_language)"
home: "https://ceylon-lang.org/"
source: "https://ceylon-lang.org/code/source/"
category: general
mode: compiled
platform: jvm
syntax: c
typing: static
paradigm:
- imperative
- oo
usage: []
install:
prepare: &add-ceylon-repo
cert:
- "https://cacerts.digicert.com/DigiCertTLSRSASHA2562020CA1.crt.pem"
aptKey:
- "https://downloads.ceylon-lang.org/apt/ceylon-debian-repo.gpg.key"
aptRepo:
- "deb [arch=amd64] https://downloads.ceylon-lang.org/apt/ unstable main"
<<: *add-ceylon-repo
apt:
- $(grep-aptavail -F Package ceylon -s Package -n | sort -rV | head -n1)
- openjdk-8-jdk-headless
main: "source/main.ceylon"
template: |
shared void run() {
print("Hello, world!");
}
run: |
PATH="/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH" ceylon run --compile=force default