A self-rep (or "quine") designed to be compiled or interpreted as a computer program, but is not a proper computer program itself--it is an error message that causes a compiler or interpreter to generate an identical error message. The term was coined by Douglas Hofstadter in his book Gödel, Escher, Bach: An Eternal Golden Braid and named after Scott Kim, whom he credited with the idea.

Here is a modest example that becomes a Kimian self-rep when saved to a file named "kimian.pl" and run through Perl 5.005:

syntax error at kimian.pl line 2, at EOF
Execution of kimian.pl aborted due to compilation errors.

Log in or register to write something here or to contact authors.