From Esolang
Jump to navigation Jump to search

A palindrome is a string which reads the same forwards and backwards; that is, some string S where S = reverse(S).

Esoteric programming is primarily concerned with such strings which are programs, especially interesting ones. This generally rules out trivial palindromic programs, such as where only the first half or only the second half of the code is executed (either because the remaining half is comment or because a halt instruction is placed in the middle).

Non-trivial palindromic programs can be written in Befunge and other languages.

See also

External resources