adding documentation for --stdio

This commit is contained in:
Jeremy Ashkenas
2010-02-24 18:27:10 -05:00
parent 9f8710b631
commit b26e577244
36 changed files with 55 additions and 39 deletions

View File

@@ -235,7 +235,7 @@ cubed_list = (function() {
</h2>
<p>
The CoffeeScript compiler is written in pure CoffeeScript, using a
The CoffeeScript compiler is written in pure CoffeeScript, using a
<a href="http://github.com/jashkenas/coffee-script/blob/master/src/grammar.coffee">small DSL</a>
on top of the <a href="http://github.com/zaach/jison">Jison parser generator</a>, and is available
as a <a href="http://nodejs.org/">Node.js</a> utility. The core compiler however,
@@ -311,6 +311,14 @@ sudo bin/cake install</pre>
conjunction with <tt>--watch</tt>)
</td>
</tr>
<tr>
<td><code>-s, --stdio</code></td>
<td>
Pipe in CoffeeScript to STDIN and get back JavaScript over STDOUT.
Good for use with processes written in other languages. An example:<br />
<tt>cat src/cake.coffee | coffee -s</tt>
</td>
</tr>
<tr>
<td><code>-e, --eval</code></td>
<td>
@@ -1624,7 +1632,7 @@ task(<span class="String"><span class="String">'</span>test<span class="String">
<span id="change_log" class="bookmark"></span>
Change Log
</h2>
<p>
<b class="header" style="margin-top: 20px;">0.5.1</b>
Improvements to null soaking with the existential operator, including