Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: One-line Quine anyone?

From: carl:cybercraft at: 25-Nov-2002 19:12

On 24-Nov-02, [SunandaDH--aol--com] wrote:
> Hey Gabriele.....Re: [REBOL] How dynamic can we be? > That's super-cool!! > And it's not far off being a quine -- a program that outputs a copy > of itself. > Rebol is currently lacking a quine on the main quine collection > site: > > There is a quine in the Rebol script library: > > (Though it doesn't *quite* work as the script librarian has added > standard headings). > So, combining two recent threads, a one-line quine would be neat, as > would a quine that displays its source in a pop-up window. My > attempts have been a little pathetic -- so I'm not even going to > list them. But I know lots of people on this list can do better. > Sunanda
How about this... REBOL[] do a: {view layout[field 500 rejoin["REBOL[] do a: {" a "}"]]} 70 characters, complete with header and source in a popup window! do is a very powerful word... (: -- Carl Read