Quine in G'MIC?

" A quine is a computer program which takes no input and produces a copy of its own source code as its only output. "

Found out it’s quite easy to write one in G’MIC! :slight_smile:

quine : e[] "quine: "$$quine
2 Likes

Haven’t done anything like this. Closest I did was generating a string as a code in math parser. See rep_dla for example. It was the only way to have multi-threaded diffusion limited aggregation. I also wish that rep_random_division can be multi-threaded without doing that. They both rely on dynamic array.

For reference on rep_dla:

eval[1] :${-math_lib}$length_const_line$dar_lines