One Time Cat

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

A One Time Cat program is the same as a normal Cat program, but then working with only 1 character. The program form was created by User:DanielE.

Since it accepts one character, it is easier than a Cat program.

Examples

Python 3

print(__import__('sys').stdin.read(1))

brainfuck

,.

><>

io;

Befunge-93

~,@

Shakespeare

The One-Time Cat.

Romeo, the commander.
Juliet, the obeyer.

    Act I: Le Program.

    Scene I: The copying of the user.

[Enter Juliet and Romeo]

Romeo:
 Open your mind.
 Speak your mind!

[Exeunt]

SPIKE

io_

C

main(){putchar(getchar());}

ORK

Being as succinct as possible, against the spirit of the language.

When this program starts:
There is a word called x.
There is an inputter called y.
There is a scribe called z.
y is to readOne x.
z is to write x.

See also