UBLANG
Jump to navigation
Jump to search
UBLANG(Unusable language) is esolang by User:ChuckEsoteric08.
Commands
+ | Increment accumulator 1 |
- | Decrement accumulator 1 if it isn't 0. If it is 0, back to start of program |
0 | set accumulator 1 to 0 |
* | increment accumulator 2 |
/ | like -, but for accumulator 2 |
1 | set accumulator 2 to 0 |
. | Print accumulator 1 |
; | Print accumulator 2 |
Examples
Infinity loop
.-
Counting from 1 to infinity
+./
Counting from 0
.+/
Print 1 infinitely
+.-/
Print ASCII values for "HI"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.
Print ASCII values of "Hello, world!"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++.+++++++++++++++++++++++++++++.+++++++..+++.-- --------------------------------------------------------- --------.------------.++++++++++++++ ++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++.--------.+++.------.--------.-------- ------------------------ -----------------------------------.
Computational class
UBLANG is a Push-down automaton because its power is identical to a single counter machine. This is because at most one counter can affect the execution of any program.
See also
- BackStart - language that compiles to UBLANG
- Tapelang - other language that compiles to UBLANG
- UBLANG++ and MUUBLANG - UBLANG extensions
- +*- - similiar language