Bit-ter lang

From Esolang
Jump to navigation Jump to search

Bit-ter lang is a Esolang made by User:BODOKE2801e, it is memoryless and works on binary, and here's a joke about the lang: What is the most bitter lang? Bit-ter lang

Commands

! is input
0 is false
1 is true
| outputs the next thing
¬ negates the following bit
& ands the bit before and after
*/[x]/ outputs [x]
([x]) executes [x] first
/[x]/[y]- saves x in slot y
-y- outputs what's in slot y

Optional

-[x]- executes the func named [x]
/[x]-[y] saves the commands x into y, replacing it, goes in a different line than the executed line

Computer Class

Bit-ter lang is almost Turing complete and Total, since it can do everything except a quine

Examples

Hello World

1*/Hello World!/

Adder

Takes input and adds it in binary

/!/1- /!/2- |-1-&-2- |(¬(-1-&-2-))&(¬(¬(-1-)&¬(-2-)))