√Befunge
Jump to navigation
Jump to search
√Befunge is An Esoteric programming language created by User:Buckets in 2020 to be a 1-d Befunge before User:Buckets learned the existence of Unefunge.
Even though The esolang is 1-d, multiple Lines are Not banned, but If you use them You have to Put them in The Dimensions Of 47 characters Wide by n Characters long.
| Commands | Instructions |
|---|---|
| + | Pops The two values And Adds Them Then Pushes the Result. |
| - | Same Thing As +, But With Subtraction(, Bottom-top). |
| * | Same Thing As -, But With Multiplication. |
| / | Same Thing As *, But With Division(, bottom/Top.) |
| % | Same Thing As /, But With Modulo(, bottom%top.) |
| ! | If the Top value is 0, Then It will replace it with 1, Else It Will Replace it With 0. |
| ` | Pops the Top two values And Pushes 1 If bottom>top, Else Pushes 0. |
| > | The Direction is now rightwards. |
| < | The Direction is now Leftwards. |
| ? | The Direction is now (50% )right or (50% )Left -wards. |
| _ | If the Top Value is 0, The direction is Now Right And Pop off the top value, Else The Direction Is now left and Pop off the Top Value. |
| ^ | Reverse Direction. |
| " | Toggle string-mode. |
| : | Duplicates The Top Value on the Stack. |
| \ | Swaps The top two value's places Within the stack Arrangement. |
| $ | Delete the Top Value on the Stack. |
| . | Pop Off The Top of the Stack and Print The Value. |
| , | Pop Off The Top of The Stack and Print The Value as ASCII. |
| # | Skip Next command. |
| g | The top Value is now The index of The Code And Will Be Replaced With the Index character where it is From. |
| p | The top Value is now The index of The Code And The second to The top value is The Character To put it In. |
| & | Push the Input integer. |
| ~ | Push The input Character. |
| @ | Ends the Program. |
| 0 - 9 | Push the Number. |
| ⁒ | Dictates Where the start of The program resides. |
"Hello, World!" Program:
,,,,,,,,,,,,,"Hello, World!"⁒<