Beta
Jump to navigation
Jump to search
Beta is an esoteric programming language that is part of a series by User:Infinitehexagon on Greek esolangs that will be a derivative of the previous esolang with more commands, less commands, or modified commands. It has 3 more extra commands than Alpha.
Commands
Alpha➜Beta | Description |
---|---|
+ | Increment the accumulator by the amount of α(Alpha) following it. |
! | Decrement the accumulator by the amount of β(Beta) following it. |
- | reverse the value of the accumulator eg. 72->27. If the reversed value is greater than 255 then set the accumulator to 0. |
$ | output the accumulator's ASCII value if it is under 128 and it's Unicode value it it's greater than 128. |
= | if the Accumulator and the amount of Beta's following it equal the same value then skip 10 instructions |
! | NOT logic gate: if the Accumulator Doesn't have a value greater than 0 then skip 5 instructions |
[ | jump to the "]" instruction by the amount of times α(Alpha) follows it. (Leave blank for infinite loop) |
] | Jump back to the "[" instruction. |
a."(instructions)" | read input of instructions and execute them in the program, then append the result into the accumulator |
Beta Programs
Hello World
[αααααααααααααααααα+αααα]$[αααα+ααααααα]+α$+ααααααα$$+ααα$[αααααα!βββββββββββ]!β$[αα!ββββββ]$[ααααααααααα+ααααα] $[ααα+αααααααα]$+ααα!ββββββ$[αα!ββββ]$-!β[αααα+αααααααα]+α$
Truth machine
+α[αααααα+αααααααα]=[$]