Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

Red, line-length: 10, 49 bytes

s: [prin [
 "s:"
 mold s
 "do s"
]] do s

Try it online!

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

Red, line-length: 10, 49 bytes

s: [prin [
 "s:"
 mold s
 "do s"
]] do s

Try it online!

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

Red, line-length: 10, 49 bytes

s: [prin [
 "s:"
 mold s
 "do s"
]] do s

Try it online!

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
added 281 characters in body
Source Link
Galen Ivanov
  • 21.5k
  • 3
  • 26
  • 62

Red, line-length 14: 10, 6149 bytes

s: [prin [
 ["s"s:"
 mold s
 "do s"
 ]
]]] do s

Try it online! Try it online!

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"s:" ; literal "s:"
 mold s ; the representation of the block itself - all between []
 "do s" ; literal "do s"
 ]
]]] do s ; evaluate the block

Red, line-length 14, 61 bytes

s: [prin
 ["s:"
 mold s
 "do s"
 ]
] do s

Try it online!

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

Red, line-length: 10, 49 bytes

s: [prin [
 "s:"
 mold s
 "do s"
]] do s

Try it online!

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
Source Link
Galen Ivanov
  • 21.5k
  • 3
  • 26
  • 62

Red, line-length 14, 61 bytes

s: [prin
 ["s:"
 mold s
 "do s"
 ]
] do s

Try it online!

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

AltStyle によって変換されたページ (->オリジナル) /