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):
   input = input('')
   return(input)