英文字典中文字典


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





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


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

































































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


  • Willard Van Orman Quine - Wikipedia
    A computer program whose output is its own source code is called a "quine" after Quine This usage was introduced by Douglas Hofstadter in his 1979 book, Gödel, Escher, Bach: An Eternal Golden Braid
  • Willard Van Orman Quine - Stanford Encyclopedia of Philosophy
    Quine is often said to put forward an “indispensability argument” (sometimes known as “the Quine-Putnam indispensability argument”) for the existence of mathematical entities
  • 威拉德·范奥曼·蒯因 - 维基百科,自由的百科全书
    威拉德·范奥曼·蒯因 威拉德·范奥曼·蒯因[1] (英語: Willard Van Orman Quine, kwaɪn ;1908年6月25日—2000年12月25日;又译 奎因),20世纪最有影响的 美国 哲学家 、 逻辑学家 之一。 出生於 俄亥俄州 阿克倫 的富裕家庭,其父為一成功的實業家,其母則任職教
  • 【翻译】Quine - 自我复制的程序(上) - 知乎
    Quine 根据美国数学家和逻辑学家 Willard van Orman Quine (1908年6月25日 – 2000年12月25日)命名,他提出自我复制这个概念。 谨以此文纪念这位数学家。 我也要将此文献给 Douglas R Hofstadter。 在他名著 《Gödel, Escher, Bach》中,创造了 Quine 这个名字。
  • 奎因(美国哲学家)_百度百科
    奎因(Willard Van Orman Quine,1908年3月25日-2000年12月25日),美国哲学家、逻辑学家, 逻辑实用主义 代表,生于 俄亥俄州。
  • Quine —— 能够自我繁殖的程序生命 - 洛谷专栏
    自然语言 大家可以发现,按照这段话做一遍后,你会得到一个一模一样的段落! 还有很多 Quine 程序的实现。 大家可以查阅资料。 能输出自己的程序,就这样被我们创造出来了! 是不是不敢相信? 到此,我们大功告成! E nd 作者:Guagua111 创建时间:2025-01-29 02:
  • thatdot quine: Quine • the streaming graph - GitHub
    Quine is a streaming graph interpreter; a server-side program that consumes data, builds it into a stateful graph structure, and runs live computation on that graph to answer questions or compute results Those results stream out in real-time
  • ‪Willard Van Orman Quine‬ - ‪Google Scholar‬
    Willard Van Orman Quine Other names Willard Van Quine, W V Quine, W V O Quine Edgar Pierce Professor of Philosophy, Harvard University Verified email at mit edu - Homepage
  • 手把手教你用C语言写一个简单的quine(输出自身的程序)
    手把手教你用C语言写一个简单的quine(输出自身的程序) 第一步,写个简单的框架 printf的东西先留空。 这时你会发现printf里面的东西需要是这句东西本身,如果把这句话复制进去,你会发现最内层还存在一个空的括号,反反复复下去就无底洞了。
  • Willard Van Orman Quine: The Analytic Synthetic Distinction
    And thus Quine writes: “The problem of analyticity confronts us anew” (Quine, 1980: 22) To tackle the notion of analyticity, Quine makes a distinction between two kinds of analytic claims, those comprised of logical truths and those comprised of synonymous terms





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