Iota, Jot, Zot | |
Paradigms: | Formal language, Turing tarpit, esoteric |
Designer: | Chris Barker |
Developer: | Chris Barker |
Latest Release Version: | 2001 |
Programming Language: | Scheme, JavaScript |
Discontinued: | Y |
Platform: | Scheme interpreter, Web browser (JavaScript) |
License: | Public domain |
Influenced: | Zot |
In formal language theory and computer science, Iota and Jot (from Greek iota ι, Hebrew yodh י, the smallest letters in those two alphabets) are languages, extremely minimalist formal systems, designed to be even simpler than other more popular alternatives, such as lambda calculus and SKI combinator calculus. Thus, they can also be considered minimalist computer programming languages, or Turing tarpits, esoteric programming languages designed to be as small as possible but still Turing-complete. Both systems use only two symbols and involve only two operations. Both were created by professor of linguistics Chris Barker in 2001. Zot (2002) is a successor to Iota that supports input and output.[1]
Note that this article uses Backus-Naur form to describe syntax.
Chris Barker's universal iota combinator has the very simple λf.fSK structure defined here, using denotational semantics in terms of the lambda calculus,
From this, one can recover the usual SKI expressions, thus:
Because of its minimalism, it has influenced research concerning Chaitin's constant.[2]
Iota is the LL(1) language that prefix orders trees of the aforementioned Universal iota combinator leafs, consed by function application,
so that for example denotes
((\iota\iota)(\iota\iota))
(\iota(\iota(\iota\iota)))
Jot is the regular language consisting of all sequences of 0 and 1,
The semantics is given by translation to SKI expressions.The empty string denotes
I
w0
(([w]S)K)
[w]
w
w1
(S(K[w]))
The point of the
w1
(([w1]A)B)=([w](AB))
A
B
w
Jot is connected to Iota by the fact that
[w0]=(\iota[w])
K
S
The Zot and Positive Zot languages command Iota computations, from inputs to outputs by continuation-passing style, in syntax resembling Jot,
where produces the continuation
λcL.L(λlR.R(λr.c(lr)))
λc.c\iota