ConstantLanguage()

From Esolang
Jump to navigation Jump to search

ConstantLanguage() is an esolang made by WarzokERNST135 in which its only functionality is to make a constant language.
Here is an example of the constant language "Hello, world!":

ConstantLanguage("Hello, world!")

It works like this:

When the code is run, it asks for user input and then just outputs "Hello, world!".


Here is an example, this time, of a constant language in which it outputs "ooh" normally but when you input "ooh" it outputs "oooooh":

ConstantLanguage("ooh", "oooooh")

It works like this:

When the code is run, it asks for user input and then outputs "ooh". But if the user input is "ooh", then it instead outputs "oooooh".