We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Bynary

From Esolang
Jump to navigation Jump to search
Not to be confused with Binary.
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Registers and operators

a, b, c, d, e, f, g, h	-registers, 0 by default
x			-any register
y			-any register or 1 or 0
z			-1 or 0
n			-any positive integer
v:x,y			-sets register x to y
i:x			-invert register x
d:x,y			-nand registers x y
p:z			-prints the registers in binary abcdefgh, 0 for decimal and 1 for character
r:n			-loops next operation for n times

Example

v:a,1
v:d,1
p:1
v:b,a
v:h,i:d:a,b
p:1

should output

Hi

Implementation

An implementation in node js, written by User:Conor O'Brien, can be found here.