Qoibl

From Esolang
Jump to navigation Jump to search

Overview

Qwerty oriented impractical bicharacter language (Qoibl) is an esoteric programming language created on the 10th of June 2021 by User:Toxinite. Qoibl is quite simple, having only eight instructions and a single list which is 256 variables long, starting at zero.

Commands

Instructions
Code Description Example code
tt Prints whatever number that is between it as ASCII tt yyyey tt
we Sets something in the list (we x we y we) we y we yyey we
qe Allows access to information in the list (qe x qe) we qe yye qe we yy we
et Gets input from the user in ASCII we yy we et we
e/y Binary numbers in which e is zero and y is one tt yeeeeey tt
yr Used for conditions where ee, ey, ye and yy mean =, >, < and != respectively (yr x yr) rr et yr yy yr qe yyyey qe rr tt qe y qe tt rr
ry Used for math where ee, ey, ye and yy mean +, -, x and / respectively (ry x ry) tt et ry yy ry yyey tt
rr Used as a while loop (rr x rr y rr) rr qe yee qe yr ey yr yey rr tt qe yy qe tt rr

Keep in mind that it ignores characters not included in the instructions e.g. space.

Small programs

Hello world program:

tt yeeyeee tt
tt yyeeyey tt
tt yyeyyee tt
tt yyeyyee tt
tt yyeyyyy tt
tt yeyyee tt
tt yeeeee tt
tt yyyeyyy tt
tt yyeyyyy tt
tt yyyeeye tt
tt yyeyyee tt
tt yyeeyee tt
tt yeeeey tt
tt yeye tt

One digit adder (up to 4+5):

we e we yyeeee we
we y we et ry ey ry qe e qe we
we ye we et ry ey ry qe e qe we
we y we qe y qe ry ee ry qe ye qe we
we y we qe y qe ry ee ry qe e qe we
tt qe y qe tt

Truth-machine:

we e we et we
rr qe e qe yr ee yr yyeeey rr tt yyeeey tt rr
tt yyeeee tt

Cat computer:

rr e yr ee yr e rr tt et tt rr

Implementations

A Python interpreter by User:Bangyen.