Beef

From Esolang
Jump to navigation Jump to search

Beef is an Esoteric programming language created by User:Buckets in 2021.

At the Start, It will Spiral Outwards in a Clockwise Manner Coming out From the Right.

Commands Instructions
< Move left once.
> Change the movment Rightwards Exactly 1 time.
^ Go up once.
v The IP moves downwards By 1.
@ This is the Starting Position.
_ If the top value = 0, Up once Else, Downwards once.
$ Pop off the Top Value and Put it in The x-axis By the next Number And the y-axis will Be determined By the Next Next Number In Hexadecimal.
| Swap The top Two values.
1-9 Pop off that many Values.
0 Ignore the next Amount of Commands where, the Amount is the Top Value on the Stack then Pop off the Top Value.
+ Add the top two Values on the stack.
- Multiply the top two values on the stack.
* Multiply the top Value by -1.
/ Divide the top two values on the stack( by, Top / Bottom).
% Toggle Inwards Outwards Directions.
! If the Top Value = 0, Push 1 Else, 0.
` Modulo the top two values on the stack( by, Bottom % Top).
? Toggle Directions.
" Push Everything on the Stack As Its ASCII value Until " Is found Again.
: Print the Top Value into ASCII.
\ Skip the Next Command.
. Duplicate the top of the stack.
, Print the Top Value As a Number.
# Push Input.
& Halts the Program.
g If the Stack is Empty, Push 0.
p Pop off the Top Value and Push The Character Into The ASCII value Determined by tge x-axis with the Next Number and The y-axis Determined With The Next next number in Reversed Hexadecimal.
~ Push 72.

Cat program:

 @#
 &:

"Hello, World!" Program:

:&
1:1:1:1
:1oW ,:
1:r@"o1
:1ld!l:
1:"Hel1
:1:1:1:


Truth-machine Program:

  >v
  _v
+&&:&
*:@#
"_
1"

FizzBuzz Program:

"zzuBzziF":1:1:    
^<<<<<<<"zzuB"1
       ^^"zzi :
       ^^^  F 1
       ^^^  "
30"*+0\^^_  :<<
"..9  \^_1  1
6.....8_    :
... . \\\,  1
...+^v<<<<<<:
...*@""11  ^1
..."01(..  ^:
..`+*"7""  ^1
..`+*"-(3  ^<
`    +*"0

A+B Problem:

&@#
,+#