We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Branjunk

From Esolang
Jump to navigation Jump to search

Branjunk

Branjunk is a esolang that is based on brainfuck created by User:Ractangle. The langauge uses the whole uppercase alphabet instead of the ascii characters (since the creator wasn't aware of the chr function in python), it also has two variables.

Commands

+ Adds 1 to value A.
- Subtracts 1 from value A.
' Prints value A as a char.
` Gets user input and sets it to value A.
^ Sets value B to value A and resets value A.
v Sets value A to value B and resets value B.

Examples

One Time Cat

`'

Hello World

+++++++'^++++'v++++''+++'++++++++'--------'+++'^+++++++++++'--------'

Brainuck

Brainuck is an early version of Branjunk also created by User:Ractangle

Commands

+ Adds 1 to the acumulator.
- Subtracts 1 from the acumulator.
U Prints the acumulator (presumably as a charecter)
K Ends the program.
; Gets user input and sets it to the acumulator.
: Reset's the accumulator back to 0.

there is also a ~ but that's a NOP since no variable pointers were using in the draft

Examples

One Time Cat

;UK

Hello, world!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++U+++++++++++++++++++++++++++++U+++++++UU+++U-------------------------------------------------------------------U------------U+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++U--------U+++U------U--------U-------------------------------------------------------------------UK

See also