Difference between revisions of "ZCubes/Quine Computing"

(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|Brocards Problem & Brown Numbers}}
+
{{#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/>
  
  
<<[[Main_Page | About ZCubes ]]
+
==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/>
&copy; Copyright 1996-2020, ZCubes, Inc.
+
&copy; Copyright 1996-2021, ZCubes, Inc.

Latest revision as of 05: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


Quine Computing















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.