Bleph!

From Esolang
Jump to navigation Jump to search

Bleph! is an experimental queue based esolang made on june 21 saturday 2025 by user:A(). Bleph! is called Bleph! because code in it looks like utter garbage.

Commands

Commands
Command Function
_ If the first item on the Stack is 1, increase else decrease
? Picks one of the first 2 items on the Stack and puts it on the top while removing the other item
+ Increase the first item on the Stack
- Decrease the first item on the Stack
O Outputs the first item on the Stack and pops it off
~ Outputs the first item on the Stack as the corresponding Bleph! character
[...] Repeats until the first item on the Stack is 0
# Replace the top item with the users input as the corresponding Bleph! character code
^ Add new item at the top
v Add new item at the bottom
! Pop the first 2 items off, add them together, and put the result at the top
@ Pop the first 2 items off, subtract them, and put the result at the top (Top minus bottom)
: Duplicate the first item
s Swap the first two items

Bleph! character codes

BCCs
Character code
a-z 1-26
A-Z 27-52
!?@#$%^*&()_+-[]: ect
1-9 ect

Simple programs

Cat program

^[#:~]

Hello world!

^ ;new item at the top
+++++++++++++++++++++++++++++++++ ;add 33 (H)
~[-] ;output as a Bleph! character and reset item to 0
+++++ ;add 5 (e)
~[-] ;output as a Bleph! character and reset item to 0
++++++++++++ ;add 12 (l)
~~[-] ;output as a Bleph! character 2 times and reset item to 0
+++++++++++++++ ;add 15 (o)
~[-] ;output as a Bleph! character and reset item to 0
 ;add 0 (space)
~[-]
+++++++++++++++++++++++ ;add 23 (w)
~[-]
+++++++++++++++ ;add 15 (o)
~[-]
++++++++++++++++++ ;add 18 (r)
~[-] ;output as a Bleph! character and reset item to 0
++++++++++++ ;add 12 (l)
~[-]
++++ ; add 4 (d)
~[-]
+++++++++++++++++++++++++++++++++++++++++++++++++++++ add 53 (!)
~[-]

Version without comments:

+++++++++++++++++++++++++++++++++~[-]+++++~[-]++++++++++++~~ 
[-]+++++++++++++++~[-]~[-]+++++++++++++++++++++++~ 
[-]+++++++++++++++~[-]++++++++++++++++++~[-]++++++++++++~[-]++++~ 
[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++~[-]

Truth machine

#[:o]o

A very boring guessing game

^+^?:^#s@

Addition

^#^#!O

Subtraction

^#^#@O