Uhaa So Bouncy

From Esolang
Jump to navigation Jump to search

Uhaa So Bouncy is an esolang created by User:Yayimhere based on an discussion on IRC. in Uhaa So Bouncy you have two "machines". one is called "left", and the other one "right". they are both "trampolines". if you dont know what that is see semantics

syntax

a program is made up like this:

A VoidLang without input program for left  |one for right
---------------------------------------------+--------------
The next one for left                        |next for right

the last line must be:

---‹^›---

where ‹^› is centered with the pipes(|). all the code on the left side is enqueued to lefts queue with the first one being the first enqueued, and the same with the right side for rights queue.

semantics

as you see we cant have real commands. but it works like a machine kinda. first dequeue the first element of left's queue, and right's queue, and see if the VoidLang programs halts(or gives an error), then based on what left and right says, we do some actions:

left: right:  action:
yes   yes     append left's program to right's and enqueue the result to both left and right's queue
no    yes     enqueue left's program to right's queue
yes   no      enqueue right's program to left's queue
no    no      discard the program's