Atemlanguage

From Esolang
Jump to navigation Jump to search

Atemlanguage is a concept invented by User:TenBillionPlusOne dual to the concept of metalanguage.

Generally speaking, metalanguage of L is a language that has a program that takes an input and executes it as in L. However, atemlanguage of program P is a language that simulates P and its instructions are input(s) taken by P.

Simprogram is a program than an atemlanguage simulates, and atemprogram is a program written in an atemlanguage.

For example, let's take the following BF program:

,[.,]

this is a cat program - it takes one character as input, prints it and repeats. So an atemlanguage of the program does the same, except instead the user inputs there's an atemprogram, so every instruction prints itself, so every program is a quine.

A more complicated example is I/M Machine, an atemlanguage of InterpretMe.