User:Unname4798/Esolangs/Bintape: Difference between revisions
Jump to navigation
Jump to search
Unname4798 (talk | contribs) Created page with "Bintape is an esoteric programming language. It is based on the public tape. All commands in the normal version are separated by spaces. == Commands == Normal Contracted Description LEFT l The pointer moves left. RIGHT r The pointer moves right. SET 1 Sets the bit under the pointer to 1. RESET 0 Sets the bit under the pointer to 0. FLIP T Flips the bit under the pointer. IFNULL() [] While..." |
Unname4798 (talk | contribs) mNo edit summary |
||
| Line 12: | Line 12: | ||
IFFULL() {} While the bit under the pointer is 1. | IFFULL() {} While the bit under the pointer is 1. | ||
RAND R Sets the bit under the pointer to a random value. | RAND R Sets the bit under the pointer to a random value. | ||
OUT() <> Outputs | OUT() <> Outputs a 20-bit Unicode character based on the formula inside. | ||
== Operations inside OUT (<>) == | == Operations inside OUT (<>) == | ||
Normal Contracted Description | Normal Contracted Description | ||
Revision as of 06:13, 20 June 2024
Bintape is an esoteric programming language. It is based on the public tape.
All commands in the normal version are separated by spaces.
Commands
Normal Contracted Description
LEFT l The pointer moves left.
RIGHT r The pointer moves right.
SET 1 Sets the bit under the pointer to 1.
RESET 0 Sets the bit under the pointer to 0.
FLIP T Flips the bit under the pointer.
IFNULL() [] While the bit under the pointer is 0.
IFFULL() {} While the bit under the pointer is 1.
RAND R Sets the bit under the pointer to a random value.
OUT() <> Outputs a 20-bit Unicode character based on the formula inside.
Operations inside OUT (<>)
Normal Contracted Description ADD + Adds two numbers. SUB - Subtracts two numbers. MUL * Multiplies two numbers. BAND & Does AND bitwise operation with two numbers. BOR | Does OR bitwise operation with two numbers. BXOR ^ Does XOR bitwise operation with two numbers. BNOT ~ Does NOT bitwise operation with two numbers. BRS >> Does RIGHTSHIFT bitwise operation with two numbers.