We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
One Time Cat
A One Time Cat program is a variation of the Cat program which only reads a single character. The program form was created by User:DanielE. Such a program is generally easier to implement than a cat program.
Examples
Python 3
print(__import__('sys').stdin.read(1))
brainfuck
,.
Malbolge
ubO
><>
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]
C
#include<stdio.h>
main(){putchar(getchar());}
Binaryfuck
101100
Bussin
input("")(fn (in) {
if (len(in) == 0) {
println("")
} else {
println(charat(in, 0))
}
})
Bussin X
Can also use the same as in Bussin.
yap("")(bruh (in) {
sus (len(in) fr 0) {
waffle("")
} impostor {
waffle(charat(in, 0))
}
})
Deadbird
gc
DNA-Sharp
Symbol form
G--------C
G--------C
C--------G
C-------G
G------C
A----T
A--T
TA
C--G
C----G
A------T
A-------T
G--------C
T--------A
A--------T
C-------G
G------C
C----G
T--A
CG
C--G
C----G
T------A
T-------A
T--------A
C--------G
Line form (simplified)
GCGCGCAT
Emmental
,.
Lenguage
Print the 1st character of the text in input
Letterfuck
in(char) out(char)
Bytecode: AFN
Ook!
Ook. Ook! Ook! Ook.
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.
Rotary phone
Talk Dial Responce
Sakana
読書
Scratch
Text form:
when flag clicked ask [One Time Cat] and wait say (letter (1) of (answer))
Stacky
ioe
Unary
- Binary number:
0b1101100 - Hexadecimal:
0x6C - Decimal: 108
0000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000
Usernames
User:Esolang lover123 User:PrySigneToFry User:ais523
Whitespace
Visible representation
[SPACE][SPACE][SPACE][SPACE][LF] [SPACE][LF] [SPACE][TAB][LF] [TAB][SPACE][TAB][TAB][TAB][TAB][LF] [SPACE][SPACE][LF] [LF] [LF]
Actual program that you should be able to copy
With comments
PUSH-0 DUPLICATE-TOP READ-CHAR RETRIEVE-HEAP OUT-CHAR HALT
$+-?
!frjnrehrbwgyrigbyieurgbyfaerkhbvrwgtr.
v
嘭!哐!叮!呲!咣!+
操!咣!
™
Type 49
Translation of Ook!
™®®™
Type 51
Same as in Python.
Type 53
Same as in Befunge-93.
~,@
Type 54
Same as Unary.
0000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000
Type 58
Same as 嘭!哐!叮!呲!咣!+
Type 67
Same as Python.
