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.

Cat Program (language)

From Esolang
Jump to navigation Jump to search
Not to be confused with Cat program, nor Cat (Language).

Cat Program (language) is an esolang created by User:None1, all it can do is a cat program.

Commands

There are no commands, but every program is valid and is a cat program.

When executed, Cat Program (language) ignores its code and outputs its input.

Example Programs

Cat Program

Anything can go here

Text interpreter

Hello World!

Interpreters

JavaScript

function cat_program(code,input){
    console.log(input);
}

Python

def cat_program(code):
   return input()

Lua


function cat_program( code, input )
    print(input)
end