Re: New meaning of the term "Sputnik"
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: New meaning of the term "Sputnik"
- From: Jorge <xxopxe@...>
- Date: 2012年7月25日 11:08:20 -0300
On 25/07/12 10:56, Dirk Laurie wrote:
Q. What's the shortest Lua 5.2 program that prints itself?
- Length is measured by number of characters, blanks included.
- No "require", "dofile" etc: the program must be self-contained.
As a starting point, http://www.nyx.net/~gthompso/quine.htm
-----------------------------------
Language:Lua http://www.tecgraf.puc-rio.br/lua/
Author:Roberto Ierusalimschy
y = [[ print("y = [[" .. y .. "]]\ndostring(y)") ]]
dostring(y)
-----------------------------------
- References:
- New meaning of the term "Sputnik", Jeff Pohlmeyer
- Re: New meaning of the term "Sputnik", Dimiter 'malkia' Stanev
- Re: New meaning of the term "Sputnik", Michael Shalayeff
- Re: New meaning of the term "Sputnik", M. Edward (Ed) Borasky
- Re: New meaning of the term "Sputnik", Yuri Takhteyev
- Re: New meaning of the term "Sputnik", Leo Razoumov
- Re: New meaning of the term "Sputnik", KHMan
- Re: New meaning of the term "Sputnik", M. Edward (Ed) Borasky
- Re: New meaning of the term "Sputnik", Laurent FAILLIE
- Re: New meaning of the term "Sputnik", liam mail
- Re: New meaning of the term "Sputnik", Paul Hudson
- Re: New meaning of the term "Sputnik", Dirk Laurie