Okapi

A programming language in the genre of esolang by Chris Pressey, Cat's Eye Technologies, May 23, 2010

Okapi is a language I designed as an anniversary present for my wife(!). In it, the only means of control flow is throwing exceptions, and as if this wasn't enough, there are two restrictions on exceptions that are thrown — they must be divide-by-zero exceptions, and they must be caught in a lexically enclosing block. Nor is there any facility to "retry" after an exception is caught. The language is nonetheless Turing-complete.

Computational Class

Turing-complete

Programming Paradigms

Defined by

okapi.py

Implementations