英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

quine    音标拼音: [kw'ɑɪn]
Quine
n 1: United States philosopher and logician who championed an
empirical view of knowledge that depended on language
(1908-2001) [synonym: {Quine}, {W. V. Quine}, {Willard Van
Orman Quine}]

/kwi:n/ (After the logician Willard V. Quine,
via Douglas Hofstadter) A program that generates a copy of its
own source text as its complete output. Devising the shortest
possible quine in some given programming language is a common
hackish amusement.

In most interpreted languages, any constant, e.g. 42, is a
quine because it "evaluates to itself". In certain {Lisp}
dialects (e.g. {Emacs Lisp}), the symbols "nil" and "t" are
"self-quoting", i.e. they are both a symbol and also the value
of that symbol. In some dialects, the function-forming
function symbol, "lambda" is self-quoting so that, when
applied to some arguments, it returns itself applied to those
arguments. Here is a quine in {Lisp} using this idea:

((lambda (x) (list x x)) (lambda (x) (list x x)))

Compare this to the {lambda expression}:

(\ x . x x) (\ x . x x)

which reproduces itself after one step of {beta reduction}.
This is simply the result of applying the {combinator} {fix}
to the {identity function}. In fact any quine can be
considered as a {fixed point} of the language's evaluation
mechanism.

We can write this in {Lisp}:

((lambda (x) (funcall x x)) (lambda (x) (funcall x x)))

where "funcall" applies its first argument to the rest of its
arguments, but evaluation of this expression will never
terminate so it cannot be called a quine.

Here is a more complex version of the above Lisp quine, which
will work in Scheme and other Lisps where "lambda" is not
self-quoting:

((lambda (x)
(list x (list (quote quote) x)))
(quote
(lambda (x)
(list x (list (quote quote) x)))))

It's relatively easy to write quines in other languages such
as {PostScript} which readily handle programs as data; much
harder (and thus more challenging!) in languages like {C}
which do not. Here is a classic {C} quine for {ASCII}
machines:

char*f="char*f=%c%s%c;main() {printf(f,34,f,34,10);}%c";
main(){printf(f,34,f,34,10);}

For excruciatingly exact quinishness, remove the interior line
break. Some infamous {Obfuscated C Contest} entries have been
quines that reproduced in exotic ways.

{Ken Thompson}'s {back door} involved an interesting variant
of a quine - a compiler which reproduced part of itself when
compiling (a version of) itself.

[{Jargon File}]

(1995-04-25)

quine: /kwi:n/, n. [from the name of the logician Willard van Orman Quine, via Douglas
Hofstadter] A program that generates a copy of its own source text as its
complete output. Devising the shortest possible quine in some given
programming language is a common hackish amusement. (We ignore some
variants of BASIC in which a program consisting of a single empty string
literal reproduces itself trivially.) Here is one classic quine:

((lambda (x)
(list x (list (quote quote) x)))
(quote
(lambda (x)
(list x (list (quote quote) x)))))
This one works in LISP or Scheme. It's relatively easy to write
quines in other languages such as Postscript which readily handle programs
as data; much harder (and thus more challenging!) in languages like C
which do not. Here is a classic C quine for ASCII machines:

char*f="char*f=%c%s%c;main()
{printf(f,34,f,34,10);}%c";
main(){printf(f,34,f,34,10);}
For excruciatingly exact quinishness, remove the interior line
breaks. Here is another elegant quine in ANSI C:

#define q(k)main(){return!puts(#k"
q("#k")");}
q(#define q(k)main(){return!puts(#k"
q("#k")");})
Some infamous Obfuscated C Contest entries
have been quines that reproduced in exotic ways. There is an amusing
Quine Home
Page.


请选择你想看的字典辞典:
单词字典翻译
Quine查看 Quine 在百度字典中的解释百度英翻中〔查看〕
Quine查看 Quine 在Google字典中的解释Google英翻中〔查看〕
Quine查看 Quine 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • Google
    Search the world's information, including webpages, images, videos and more Google has many special features to help you find exactly what you're looking for
  • YouTube - YouTube
    Ever wondered what’s really in @RickyLimon 's YouTube Watch History? 👀 From 24-hour challenges and cringe reactions to viral shorts, Ricky exposes his entire feed We dive deep into the YouTube
  • World Wide Web - Wikipedia
    The World Wide Web (also known as WWW, W3, or simply the Web) [2] is a public interconnected information system that enables content sharing over the Internet [3] It facilitates access to documents and other web resources according to specific rules of the Hypertext Transfer Protocol (HTTP) [4]
  • Google
    Ofrecido por Google en: English Publicidade Todo acerca de Google Google com in English
  • WWW Full Form: What is World Wide Web in Computer? - YouTube
    When it comes to surfing through the Internet, the term ‘WWW’ is tossed quite a lot You may have noticed this when entering the URL in the web browser Although most people are using WWW
  • Yahoo
    News, email and search are just the beginning Discover more every day Find your yodel
  • What Is the WWW (World Wide Web)? - Computer Hope
    Short for World Wide Web, WWW, W3, or web is a graphical interface for the Internet that was introduced to the public on August 6, 1991, by Tim Berners-Lee A few days later on August 23, 1991, it was available to everyone WWW was featured as a top term of 1991 How is the Internet different than the WWW? What software lets you access the WWW?
  • About The World Wide Web
    Through the use hypertext and multimedia techniques, the web is easy for anyone to roam, browse, and contribute to An early talk about the Web gives some more background on how the Web was originally conceived Members of the W3C team often give talks and presentations
  • World Wide Web - Simple English Wikipedia, the free encyclopedia
    Sir Tim Berners-Lee created a new markup language called HTML Each Website is a group of pages linked by hypertext links that are written in HTML The software to see the World Wide Web is called a web browser To access the World Wide Web, one also needs a connection to the Internet
  • World Wide Web - Glossary | MDN
    The World Wide Web —commonly referred to as WWW, W3, or the Web —is a system of interconnected public webpages accessible through the Internet The Web is not the same as the Internet: the Web is one of many applications built on top of the Internet Tim Berners-Lee proposed the architecture of what became known as the World Wide Web





中文字典-英文字典  2005-2009