అంతులేనిబైనరీలు

From Esolang
Jump to navigation Jump to search

అంతులేనిబైనరీలు (pronounced /antulenibaɪnaɾilu/) is an esoterical programming language with an infinite tape but only 2 states possible in those tapes.

Commands

+ flip cell at pointer (0 turns to 1, 1 turns to 0)
> move pointer right
< move pointer left
[ go to corresponding ] if cell at pointer is 0
] go to corresponding [ if cell at pointer is 1
. output cell at pointer
, replace cell at pointer with input from 0 to 1
( go to corresponding ) if cell at pointer is 1
) go to corresponding ( if cell at pointer is 0
{ begin a forever loop
} end a forever loop (rare case)

Examples

Cat

{,.

11111011111

+.....>.<.....

Truth machine

,[.].

An alternative implementation, which relies on an infinite loop's termination, is adduced below:

,{.(}+)

Nop

Alternating Bit Sequence

This program serves in the perpetual printing of the alternating binary sequence “0101…”.

{.+

Interpreter

  • Common Lisp implementation of the అంతులేనిబైనరీలు programming language. Please note that the concrete character set deployed constitutes a dependency on the Common Lisp implementation; in corollary, Unicode support may or may not be a feature incorporated in the personal environment. The interpreter at hand has been developed and tested with Steel Bank Common Lisp (SBCL) version 1.1.4 as part of the Lisp Cabinet 0.3.5 bundle.