<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zcubes.com/index.php?action=history&amp;feed=atom&amp;title=Coffeescript_in_Z</id>
	<title>Coffeescript in Z - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zcubes.com/index.php?action=history&amp;feed=atom&amp;title=Coffeescript_in_Z"/>
	<link rel="alternate" type="text/html" href="https://wiki.zcubes.com/index.php?title=Coffeescript_in_Z&amp;action=history"/>
	<updated>2026-06-11T23:58:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.zcubes.com/index.php?title=Coffeescript_in_Z&amp;diff=217600&amp;oldid=prev</id>
		<title>Joseph: Created page with &quot;=Coffeescript in Z=  In ZCubes, Coffeescript code can be run without any other connections. Simply indicate the language is Coffeescript.  &lt;pre&gt; greet =  -&gt;   console.log &quot;Hel...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zcubes.com/index.php?title=Coffeescript_in_Z&amp;diff=217600&amp;oldid=prev"/>
		<updated>2025-02-14T02:09:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Coffeescript in Z=  In ZCubes, Coffeescript code can be run without any other connections. Simply indicate the language is Coffeescript.  &amp;lt;pre&amp;gt; greet =  -&amp;gt;   console.log &amp;quot;Hel...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Coffeescript in Z=&lt;br /&gt;
&lt;br /&gt;
In ZCubes, Coffeescript code can be run without any other connections. Simply indicate the language is Coffeescript.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
greet =  -&amp;gt;&lt;br /&gt;
  console.log &amp;quot;Hello how are you&amp;quot;&lt;br /&gt;
greet()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In z^3 environment, assume we have already defined a=1..10;&lt;br /&gt;
&lt;br /&gt;
Then, this can be executed in Coffeescript language. [= and =] encompass the z^3 code SUM(a) to be prepiled into the code before execution in Coffeescript.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CL([=SUM(a)=])	&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&lt;br /&gt;
&lt;br /&gt;
elvis=true;&lt;br /&gt;
alert &amp;quot;I knew it!&amp;quot; if elvis?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in the following, assigning to window.numbers transfers the value from Coffescript Execution to the main z^3 computational space. Other variables in Coffeescript code stay private.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]&lt;br /&gt;
&lt;br /&gt;
start   = numbers[0..2]&lt;br /&gt;
&lt;br /&gt;
middle  = numbers[3...-2]&lt;br /&gt;
&lt;br /&gt;
end     = numbers[-2..]&lt;br /&gt;
&lt;br /&gt;
copy    = numbers[..]&lt;br /&gt;
&lt;br /&gt;
numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]&lt;br /&gt;
&lt;br /&gt;
numbers[3..6] = [-3, -4, -5, -6]&lt;br /&gt;
&lt;br /&gt;
numbers&lt;br /&gt;
&lt;br /&gt;
window.numbers=SIN(numbers)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another example of Coffeescript interacting with z^3 computational space.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// transfers values from and to the rest of the system.&lt;br /&gt;
&lt;br /&gt;
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]&lt;br /&gt;
&lt;br /&gt;
start   = numbers[0..[=a=]]&lt;br /&gt;
&lt;br /&gt;
middle  = numbers[3...-2]&lt;br /&gt;
&lt;br /&gt;
end     = numbers[-2..]&lt;br /&gt;
&lt;br /&gt;
copy    = numbers[..]&lt;br /&gt;
&lt;br /&gt;
numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]&lt;br /&gt;
&lt;br /&gt;
numbers[3..6] = [-3, -4, -5, -6]&lt;br /&gt;
&lt;br /&gt;
numbers&lt;br /&gt;
&lt;br /&gt;
numbers=(numbers)&lt;br /&gt;
&lt;br /&gt;
window.start=TAN(start)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Joseph</name></author>
	</entry>
</feed>