Typefuck

From Esolang
Jump to navigation Jump to search

Typefuck is developed by Steve Abel.

Typefuck is a Brainfuck-based language with C types as command.

Commands

Command Meaning (in full name) Brainfuck equivalent Description
I Integer > Move the pointer to the right
F Float < Move the pointer to the left
D Double + Increment the memory cell at the pointer
L Long - Decrement the memory cell at the pointer
S Short . Output the character signified by the cell at the pointer
C Character , Input a character and store it in the cell at the pointer
B Boolean [ Jump past the matching V if the cell at the pointer is 0
V Void(No type) ] Jump back to the matching B if the cell at the pointer is nonzero

Examples

Hello, world

DDDDDDDDBIDDDDDDDDFLVIDDDDDDDDSIDDDDDDDDBIDDDDDDDDDDDDFLVIDDDDDSDDDDDDDSSDDDSIDDDDDDDDBIDDDDDFLVIDDDDSLLLLLLLLLLLLSFFFFDDDDDDDDDDDDDDDSIISDDDSLLLLLLSLLLLLLLLSIIDS

99 bottles of beers

Too long.

Rickroll

TTTToooooooo lllloooonnnngggg....

A+B

T o o l o n g a n d i t o n l y s u p p o r t 1 - d i g i t A + B .

See also

Implementation

I really don't write at here ANYMORE.

Categories