Yea

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

Yea is an esolang by User:ChuckEsoteric08.

Description

It has one queue and one stack, both have their initial value and their element are one character long. it also have accumulator which is contain only 1 character and have its own initial value that can't be changed. Commands are seperated by newline. Elements, accumulator and argument(x) can be only y, e and a. Yea is case in-sensitive.

Commands

Command Operation
yea.x Declare label x.
ya.x enqueue x to queue if its bottom element is equal to element on the top.
ay.x push x to stack if its top element is equal to bottom element of queue.
ye dequeue element on the queue.
ey pop element from stack.
aey reverse stack.
yay.x if top of the stack is equal to accumulator goto label x.
yey.x if bottom of the queue is equal to accumulator goto label x.