Red, line-length: 10, 49 bytes
s: [prin [
"s:"
mold s
"do s"
]] do s
This in fact is a Rebol quine
Explanation:
Red/Rebol's mold follows the coding style of putting 4 spaces offset.
s: [prin [ ; s is a block; print the following:
"s:" ; literal "s:"
mold s ; the representation of the block itself - all between []
"do s" ; literal "do s"
]] do s ; evaluate the block
Galen Ivanov
- 21.5k
- 3
- 26
- 62