Difference between revisions of "ZCubes/Quine Computing"
Jump to navigation
Jump to search
(Created page with "==Quine Computing== <br/> Quines are computer programs that produces the source code of the program itself as the output. Quines may be used for creating self-replicating or s...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
==Video== | ==Video== | ||
<br/> | <br/> | ||
− | {{#ev:youtube|atnD2XEmER0|480|left| | + | {{#ev:youtube|atnD2XEmER0|480|left|Quine Computing}} |
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> | <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> | ||
− | < | + | ==ZCubes code== |
+ | <pre> | ||
+ | function q(a,b,c ) | ||
+ | {console.log(eval(arguments.callee.name)+""); | ||
+ | a=1; | ||
+ | b=34; | ||
+ | return(a+b) | ||
+ | }; | ||
+ | q() | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | <br/> | ||
+ | *[[Z3 | Z3 home]] | ||
+ | *[[Z^3 Language Documentation]] | ||
+ | *[[ZCubes_Videos | ZCubes Videos and Tutorials]] | ||
+ | *[[Main_Page | About ZCubes ]] | ||
+ | <br/> | ||
<br/> | <br/> | ||
− | © Copyright 1996- | + | © Copyright 1996-2021, ZCubes, Inc. |
Latest revision as of 04:19, 17 September 2021
Quine Computing
Quines are computer programs that produces the source code of the program itself as the output. Quines may be used for creating self-replicating or self-modifying programs. This video demonstrates how to create quines using Z.
Video
ZCubes code
function q(a,b,c ) {console.log(eval(arguments.callee.name)+""); a=1; b=34; return(a+b) }; q()
© Copyright 1996-2021, ZCubes, Inc.