br greater than
Jump to navigation
Jump to search
- The title of this article is not correct because of technical limitations. The correct title is actually br>.
br> is a Stack-based and befunge-based esolang created by User:Ractangle and User:Ϫ.
Etymology
The name came from an mistake that User:Ϫ made by accident:
br><br>hehe whoops esolagn lol... wait that gives me an idea:
Syntax
The language goes like this:
- The first line is the program that gets executed,
- Line 2 and onward are the stack elements.
The pointer goes back to the start if it reaches the end
Litreals
"abc" creates a string. 123 creates a number. {} creates an operation T creates a boolean truth. F creates a boolean false. I creates an input. Anything else does not get added to the stack.
Commands
> | Starts the cursor moving left. < does the opposite. |
| | Flips the cursor's direction. |
? | Pop value. If it is a boolean truth, do the next operation. Anything else skips it and skips the opertion. |
^ | Skip the next instruction/operation. |
! | Halts. |
: | Duplicates the top stack item. |
O | Pops a value and outputs it. |
R | Pops a value. If it is a 1-letter string, from now on this acts like that instruction. |
o | Outputs the top value without popping it. |
M | Pops two values. If they are the same, push a truth. If they are different, push a false. |
~ | Pop a value. |
+ | Pop two values, add them, and push the result. |
& | Reverses the top two values on the stack |
Programs
Truth Machine
M?{o}^|o| 0 I
Infinite Loop