Translator

From Esolang
Jump to navigation Jump to search

Translator is an esolang invented by User:None1.

Memory

It operates on the input. It has no other memory storage other than that.

Syntax

''a'' -> ''b''

a and b are strings. Replaces a with b. After all the replacements are finished, the processed input is printed implicitly.

Note that replacements do not loop explicitly or implicitly, so this is not the same as Thue nor Markov algorithm.

Examples

cat

N

Pseudo Truth Machine

1 -> 1111111111111111111111111111111111111111111111111111111111111111111111...