<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JavaScript on the command line or as a shell scripting language</title>
	<atom:link href="http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: randomrandom</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275383</link>
		<dc:creator>randomrandom</dc:creator>
		<pubDate>Sat, 05 Sep 2009 17:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275383</guid>
		<description>This is very interesting as well --

JSTalk is how I imagine AppleScript would be done today, if it was written by a Cocoa programmer who was smitten by Cocoa and Objective-C...

http://github.com/ccgus/jstalk</description>
		<content:encoded><![CDATA[<p>This is very interesting as well &#8211;</p>
<p>JSTalk is how I imagine AppleScript would be done today, if it was written by a Cocoa programmer who was smitten by Cocoa and Objective-C&#8230;</p>
<p><a href="http://github.com/ccgus/jstalk" rel="nofollow">http://github.com/ccgus/jstalk</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randomrandom</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275381</link>
		<dc:creator>randomrandom</dc:creator>
		<pubDate>Sat, 05 Sep 2009 12:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275381</guid>
		<description>JavaScript OSA is a port of the Mozilla JavaScript scripting system to the Macintosh:

http://www.latenightsw.com/freeware/JavaScriptOSA/</description>
		<content:encoded><![CDATA[<p>JavaScript OSA is a port of the Mozilla JavaScript scripting system to the Macintosh:</p>
<p><a href="http://www.latenightsw.com/freeware/JavaScriptOSA/" rel="nofollow">http://www.latenightsw.com/freeware/JavaScriptOSA/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tlrobinson</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275380</link>
		<dc:creator>tlrobinson</dc:creator>
		<pubDate>Sat, 05 Sep 2009 09:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275380</guid>
		<description>Narwhal aims to be a complete environment for JavaScript on the server, including a standard library (implementing the CommonJS/ServerJS spec), package manager, shell, virtual environments, etc.

It&#039;s a layer on top of the interpreters, so you&#039;ll be able to switch between Rhino, V8, JSC, etc. For now Rhino is the most complete.

It&#039;s still a work in progress, but useful none the less: http://narwhaljs.org/quick-start.html</description>
		<content:encoded><![CDATA[<p>Narwhal aims to be a complete environment for JavaScript on the server, including a standard library (implementing the CommonJS/ServerJS spec), package manager, shell, virtual environments, etc.</p>
<p>It&#8217;s a layer on top of the interpreters, so you&#8217;ll be able to switch between Rhino, V8, JSC, etc. For now Rhino is the most complete.</p>
<p>It&#8217;s still a work in progress, but useful none the less: <a href="http://narwhaljs.org/quick-start.html" rel="nofollow">http://narwhaljs.org/quick-start.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rebtut</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275379</link>
		<dc:creator>rebtut</dc:creator>
		<pubDate>Fri, 04 Sep 2009 21:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275379</guid>
		<description>If you&#039;re looking for a scripting language with simplicity and power look at rebol. It&#039;s closer to Javascript than you may think see 
http://reboltutorial.com/blog/rebol-javascript/

For example you will be able to tweet in one line in command line:
http://reboltutorial.com/blog/rebol-twitter-update/

Here&#039;s tips for improving productivity with command line
http://reboltutorial.com/blog/rebol-console-directly/</description>
		<content:encoded><![CDATA[<p>If you&#8217;re looking for a scripting language with simplicity and power look at rebol. It&#8217;s closer to Javascript than you may think see<br />
<a href="http://reboltutorial.com/blog/rebol-javascript/" rel="nofollow">http://reboltutorial.com/blog/rebol-javascript/</a></p>
<p>For example you will be able to tweet in one line in command line:<br />
<a href="http://reboltutorial.com/blog/rebol-twitter-update/" rel="nofollow">http://reboltutorial.com/blog/rebol-twitter-update/</a></p>
<p>Here&#8217;s tips for improving productivity with command line<br />
<a href="http://reboltutorial.com/blog/rebol-console-directly/" rel="nofollow">http://reboltutorial.com/blog/rebol-console-directly/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reaktivo</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275366</link>
		<dc:creator>reaktivo</dc:creator>
		<pubDate>Thu, 03 Sep 2009 18:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275366</guid>
		<description>@zachstronaut

I tried doing that too, is probably because jsc is trying to execute the script including the first line with the shebang and stops because it&#039;s not valid js, I haven&#039;t found an alternative, but it would be really cool if we could have js shell scripts.</description>
		<content:encoded><![CDATA[<p>@zachstronaut</p>
<p>I tried doing that too, is probably because jsc is trying to execute the script including the first line with the shebang and stops because it&#8217;s not valid js, I haven&#8217;t found an alternative, but it would be really cool if we could have js shell scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TylerClose</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275360</link>
		<dc:creator>TylerClose</dc:creator>
		<pubDate>Thu, 03 Sep 2009 16:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275360</guid>
		<description>By default, WSH (Windows Script Host) only executes JavaScript from a file. I&#039;ve written some JavaScript that makes WSH act like an interactive interpreter (read-eval-print loop). There&#039;s a page describing it at: http://waterken.sourceforge.net/web_send/wsh/  The really cool thing about running JavaScript this way is that you&#039;re not confined by the Same Origin Policy, so you can script across web sites. Think of it as a shell for the Web, rather than a shell for your local box.</description>
		<content:encoded><![CDATA[<p>By default, WSH (Windows Script Host) only executes JavaScript from a file. I&#8217;ve written some JavaScript that makes WSH act like an interactive interpreter (read-eval-print loop). There&#8217;s a page describing it at: <a href="http://waterken.sourceforge.net/web_send/wsh/" rel="nofollow">http://waterken.sourceforge.net/web_send/wsh/</a>  The really cool thing about running JavaScript this way is that you&#8217;re not confined by the Same Origin Policy, so you can script across web sites. Think of it as a shell for the Web, rather than a shell for your local box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tercero12</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275358</link>
		<dc:creator>tercero12</dc:creator>
		<pubDate>Thu, 03 Sep 2009 15:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275358</guid>
		<description>IMHO, if you need a command-line scripting language, install Python.  It has cleaner syntax than Javascript, but has so many similarites that a JS programmer could be comfortable with it in an afternoon.</description>
		<content:encoded><![CDATA[<p>IMHO, if you need a command-line scripting language, install Python.  It has cleaner syntax than Javascript, but has so many similarites that a JS programmer could be comfortable with it in an afternoon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lmorchard</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275357</link>
		<dc:creator>lmorchard</dc:creator>
		<pubDate>Thu, 03 Sep 2009 15:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275357</guid>
		<description>(and by readline(), I mean readline() in jsc)</description>
		<content:encoded><![CDATA[<p>(and by readline(), I mean readline() in jsc)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lmorchard</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275356</link>
		<dc:creator>lmorchard</dc:creator>
		<pubDate>Thu, 03 Sep 2009 15:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275356</guid>
		<description>FWIW, I think there&#039;s also a readline() built-in for grabbing data from STDIN.  So, no native file access, but you can pipe things in.  That&#039;s useful at least for using things like JSLint</description>
		<content:encoded><![CDATA[<p>FWIW, I think there&#8217;s also a readline() built-in for grabbing data from STDIN.  So, no native file access, but you can pipe things in.  That&#8217;s useful at least for using things like JSLint</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zachstronaut</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275354</link>
		<dc:creator>zachstronaut</dc:creator>
		<pubDate>Thu, 03 Sep 2009 14:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275354</guid>
		<description>Anybody here saavy to why this does not work as expected?

create file foo:

#!/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc
print(&#039;hello world&#039;);

chmod 755 foo

./foo

no output... ajaxian?!</description>
		<content:encoded><![CDATA[<p>Anybody here saavy to why this does not work as expected?</p>
<p>create file foo:</p>
<p>#!/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc<br />
print(&#8216;hello world&#8217;);</p>
<p>chmod 755 foo</p>
<p>./foo</p>
<p>no output&#8230; ajaxian?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpjoyal</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275352</link>
		<dc:creator>jpjoyal</dc:creator>
		<pubDate>Thu, 03 Sep 2009 14:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275352</guid>
		<description>Any pointer on messing with files and folders ? Some FileUtils equivalent?</description>
		<content:encoded><![CDATA[<p>Any pointer on messing with files and folders ? Some FileUtils equivalent?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sentientholon</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275350</link>
		<dc:creator>sentientholon</dc:creator>
		<pubDate>Thu, 03 Sep 2009 12:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275350</guid>
		<description>I use Rhino on the shell all the time - when I want an interactive JavaScript interpreter.  But this is a far cry from having the whole ecosystem of Unix shell commands available to you for your pipelining pleasure.  If you want to get around on your system, you need to learn a shell!</description>
		<content:encoded><![CDATA[<p>I use Rhino on the shell all the time &#8211; when I want an interactive JavaScript interpreter.  But this is a far cry from having the whole ecosystem of Unix shell commands available to you for your pipelining pleasure.  If you want to get around on your system, you need to learn a shell!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naterkane</title>
		<link>http://ajaxian.com/archives/javascript-on-the-command-line-or-as-a-shell-scripting-language/comment-page-1#comment-275349</link>
		<dc:creator>naterkane</dc:creator>
		<pubDate>Thu, 03 Sep 2009 12:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7325#comment-275349</guid>
		<description>though the markup and is there... the two longer &lt;code&gt;pre&lt;/code&gt; tags you used appear truncated in this post

&lt;code&gt;/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc&lt;/code&gt;

&lt;code&gt;$ sudo ln /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc /bin/jsc&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>though the markup and is there&#8230; the two longer <code>pre</code> tags you used appear truncated in this post</p>
<p><code>/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc</code></p>
<p><code>$ sudo ln /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc /bin/jsc</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

