Extended beescript
Jump to navigation
Jump to search
Extended beescript is an extended version of BeeScript (yeah, obviously...) by User:Hammy
Commands
HONEY |
Pushes 1 to the stack (needed to print newlines) | ||||||||||||||||||||||||||||||||||
HIVE |
Opposite of BARRY
| ||||||||||||||||||||||||||||||||||
BLACK AND YELLOW |
Same as BLACK YELLOW
| ||||||||||||||||||||||||||||||||||
HONEX code KRELMAN |
Only run code if the top two values of the stack are equal | ||||||||||||||||||||||||||||||||||
POLLINATE |
Multiply | ||||||||||||||||||||||||||||||||||
POLLEN
|
Convert the top of the stack into hexadecimal and then to commands using this table:
Then run the code. | ||||||||||||||||||||||||||||||||||
| ADAM | Clear the stack. | ||||||||||||||||||||||||||||||||||
| AVIATION | Input as number and push it. | ||||||||||||||||||||||||||||||||||
| WINGS x | Output as number. | ||||||||||||||||||||||||||||||||||
| SMALL | End the program early. Mostly used for FLY n
| ||||||||||||||||||||||||||||||||||
| FLYING x | Opposite of FLY x where it flies if 0
|
Note: This isn't case sensitive, so barry, BARRY and bArRy all run the same command.
// Is a comment btw
Examples
Truth machine
aviation // Input as number bee // duplicate so we have another fly 5 // Go to 1 outputting if input is 1, flying 10 // really? small // Separate from 11111... adam // clear stack honey // add a 1 wings 1 // Output 1 fly 5 // Go back small // This won't be run anyways lol wings 0 small
Computational class
Uhhh I think it might be turing complete because of this conversion thingy between the smallest part of underload that is still turing complete to this
: = bee (A) = aviate 1 (works for A) ^ = pollen (warning: very inconvenient)