英文字典中文字典


英文字典中文字典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英翻中〔查看〕





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


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

































































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


  • ChatGPT
    ChatGPT is your AI chatbot for everyday use Chat with the most advanced AI to explore ideas, solve problems, and learn faster
  • Introducing ChatGPT - OpenAI
    We’ve trained a model called ChatGPT which interacts in a conversational way The dialogue format makes it possible for ChatGPT to answer followup questions, admit its mistakes, challenge incorrect premises, and reject inappropriate requests
  • ChatGPT - Free download and install on Windows | Microsoft Store
    Do more on your PC with ChatGPT: · Instant answers—Use the [Alt + Space] keyboard shortcut for faster access to ChatGPT · Chat with your computer—Use Advanced Voice to chat with your computer in real-time and get hands-free advice and answers while you work
  • ‎ChatGPT App - App Store
    Introducing ChatGPT for iOS: OpenAI’s latest advancements at your fingertips This official app is free, syncs your history across devices, and brings you the latest from OpenAI, including the new image generator
  • ChatGPT - Apps on Google Play
    Introducing ChatGPT for Android: OpenAI’s latest advancements at your fingertips This official app is free, syncs your history across devices, and brings you the latest from OpenAI, including
  • What Is ChatGPT? How It Works, How to Use It, and More
    ChatGPT is a popular generative artificial intelligence (AI) tool that can produce writing, answer questions, explain complicated topics, provide insights, and write computer code (among many other things)
  • What is ChatGPT? - IBM
    ChatGPT is a generative AI chatbot developed by OpenAI and powered by their proprietary GPT family of generative artificial intelligence (gen AI) models
  • ChatGPT - Toms Guide
    ChatGPT vs Claude: I put both default models through 7 real-world tests — one is the clear winner By Amanda Caswell published March 1, 2026 ChatGPT and Claude's default models battle it out in
  • I tested ChatGPT vs. Claude to see which is better - ZDNET
    Considering ditching ChatGPT for Claude? I tested both on the same 10 tasks Here's which came out on top
  • ChatGPT vs. Gemini: I Tested Both, and the Winner Might Surpise You
    Curious about AI chatbots but don’t know where to start? ChatGPT and Gemini are two of the best, and I'm here to help you choose between them based on my extensive testing





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