riju/langs/oz.yaml

29 lines
494 B
YAML

id: "oz"
aliases:
- "mozart"
- "mozart2"
name: "Oz"
install:
manual: |
ver="$(latest_release mozart/mozart2 | sed 's/^v//')"
wget "https://github.com/mozart/mozart2/releases/download/v${ver}/mozart2-${ver}-x86_64-linux.deb" -O mozart.deb
deb:
- mozart.deb
main: "main.oz"
template: |
functor
import
Application
System
define
{System.showInfo 'Hello, world!'}
{Application.exit 0}
end
compile: |
ozc -c main.oz
run: |
ozengine main.ozf