英文字典中文字典


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





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


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

































































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


  • Minha Conexão: Teste a Velocidade Real da sua Internet
    O Teste de internet - Internet Speed Test Minha Conexão - é um teste de velocidade desenvolvido para que você possa medir o desempenho da conexão de internet contratada
  • MyBroadband Speed Test
    Test your Internet connection bandwidth and latency to servers in Johannesburg, Cape Town and Durban on the MyBroadband Speed Test
  • Quizz. biz - Tester sa culture, créer des Quiz, défier ses amis
    C'est un test de culture où vous devez répondre correctement à des questions sur différents thèmes Nos quiz peuvent être facile, moyen, difficile, ou expert selon le niveau de difficulté choisi
  • MyBroadband Insights
    Speed Test App The MyBroadband Speed Test app is your go-to tool for testing internet performance with precision and ease Available on Android, Huawei, iOS, and through our web-based version, the app provides accurate results on download speed, upload speed, latency, and network jitter
  • Tests de personnalité gratuits : A vous de jouer - Quizz. biz
    Réponds à chaque question des tests de personnalité proposés, consulte les résultats, et découvre des traits inattendus de ta psyché ! Les auteurs de ces tests ont rivalisé d'imagination afin que tu trouves ton alter ego parmi des personnages de séries, des héros de mangas, des princesses de dessins animés d'autres se sont lancés dans des tests prédictifs, périlleux et
  • Velocímetro Minha Conexão | Faça seu Teste de Velocidade!
    Saiba Como Funciona O Velocímetro do Minha Conexão! 🌐 Veja Como Fazer o Teste de Velocidade e Como Avaliar o Resultado!
  • Law that makes it easier to lose your driving licence fails its . . .
    Aarto fails that test,” said Duvenage According to the Outa CEO, the latest regulations were hastily pushed through without public participation, which has only deepened concerns
  • Test de personnalité Quel animal es-tu - Quizz. biz
    Test de personnalité Quel animal es-tu ? : Tu as toujours eu envie de découvrir quel animal se cachait en toi ! Fais ce test pour savoir quel animal tu es - Q1: Quelle est ta saison préférée ? Printemps, Été, Hiver, Automne,
  • Veja como entender os resultados do teste de velocidade
    O teste de velocidade (ou speed test) é uma ferramenta usada para descobrir se a velocidade da internet está adequada ao contrato com a operadora Mas, para ver se a internet contratada está sendo entregue, é preciso entender os resultados medidos Continue a leitura e descubra como funciona o teste de velocidade, o que significam mbps, upload, ping, entre outros termos!
  • The easiest way to check your internet speeds in South Africa
    The MyBroadband Speed Test App is the best way to ensure you’re getting the speeds your ISP promised





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