Permalink
Browse files

Rebuild for 1.12.2

  • Loading branch information...
1 parent 8c81c4a commit e2a3a5b9936a4d00815e86e40f359417776ede33 @GeoffreyBooth GeoffreyBooth committed Dec 16, 2016
Oops, something went wrong.
@@ -171,6 +171,22 @@
<div class="pilwrap ">
<a class="pilcrow" href="#section-4">&#182;</a>
</div>
+ <p>Node’s REPL v6.9.1+ sends the input wrapped in a try/catch statement.
+Unwrap that too.</p>
+
+ </div>
+
+ <div class="content"><div class='highlight'><pre> input = input.replace <span class="hljs-regexp">/^\s*try\s*{([\s\S]*)}\s*catch.*$/m</span>, <span class="hljs-string">'$1'</span></pre></div></div>
+
+ </li>
+
+
+ <li id="section-5">
+ <div class="annotation">
+
+ <div class="pilwrap ">
+ <a class="pilcrow" href="#section-5">&#182;</a>
+ </div>
<p>Require AST nodes to do some AST manipulation.</p>
</div>
@@ -182,11 +198,11 @@
</li>
- <li id="section-5">
+ <li id="section-6">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-5">&#182;</a>
+ <a class="pilcrow" href="#section-6">&#182;</a>
</div>
<p>Tokenize the clean input.</p>
@@ -197,11 +213,11 @@
</li>
- <li id="section-6">
+ <li id="section-7">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-6">&#182;</a>
+ <a class="pilcrow" href="#section-7">&#182;</a>
</div>
<p>Collect referenced variable names just like in <code>CoffeeScript.compile</code>.</p>
@@ -214,11 +230,11 @@
</li>
- <li id="section-7">
+ <li id="section-8">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-7">&#182;</a>
+ <a class="pilcrow" href="#section-8">&#182;</a>
</div>
<p>Generate the AST of the tokens.</p>
@@ -229,11 +245,11 @@
</li>
- <li id="section-8">
+ <li id="section-9">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-8">&#182;</a>
+ <a class="pilcrow" href="#section-9">&#182;</a>
</div>
<p>Add assignment to <code>_</code> variable to force the input to be an expression.</p>
@@ -249,11 +265,11 @@
</li>
- <li id="section-9">
+ <li id="section-10">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-9">&#182;</a>
+ <a class="pilcrow" href="#section-10">&#182;</a>
</div>
<p>AST’s <code>compile</code> does not add source code information to syntax errors.</p>
@@ -274,11 +290,11 @@
</li>
- <li id="section-10">
+ <li id="section-11">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-10">&#182;</a>
+ <a class="pilcrow" href="#section-11">&#182;</a>
</div>
<p>Node 0.11.12 changed API, prompt is now _prompt.</p>
@@ -295,11 +311,11 @@
</li>
- <li id="section-11">
+ <li id="section-12">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-11">&#182;</a>
+ <a class="pilcrow" href="#section-12">&#182;</a>
</div>
<p>Proxy node’s line listener</p>
@@ -320,11 +336,11 @@
</li>
- <li id="section-12">
+ <li id="section-13">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-12">&#182;</a>
+ <a class="pilcrow" href="#section-13">&#182;</a>
</div>
<p>Handle Ctrl-v</p>
@@ -337,11 +353,11 @@
</li>
- <li id="section-13">
+ <li id="section-14">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-13">&#182;</a>
+ <a class="pilcrow" href="#section-14">&#182;</a>
</div>
<p>allow arbitrarily switching between modes any time before multiple lines are entered</p>
@@ -356,11 +372,11 @@
</li>
- <li id="section-14">
+ <li id="section-15">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-14">&#182;</a>
+ <a class="pilcrow" href="#section-15">&#182;</a>
</div>
<p>no-op unless the current line is empty</p>
@@ -371,11 +387,11 @@
</li>
- <li id="section-15">
+ <li id="section-16">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-15">&#182;</a>
+ <a class="pilcrow" href="#section-16">&#182;</a>
</div>
<p>eval, print, loop</p>
@@ -390,11 +406,11 @@
</li>
- <li id="section-16">
+ <li id="section-17">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-16">&#182;</a>
+ <a class="pilcrow" href="#section-17">&#182;</a>
</div>
<p>XXX: multiline hack</p>
@@ -412,11 +428,11 @@
</li>
- <li id="section-17">
+ <li id="section-18">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-17">&#182;</a>
+ <a class="pilcrow" href="#section-18">&#182;</a>
</div>
<p>Store and load command history from a file</p>
@@ -429,11 +445,11 @@
</li>
- <li id="section-18">
+ <li id="section-19">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-18">&#182;</a>
+ <a class="pilcrow" href="#section-19">&#182;</a>
</div>
<p>Get file info and at most maxSize of command history</p>
@@ -445,11 +461,11 @@
</li>
- <li id="section-19">
+ <li id="section-20">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-19">&#182;</a>
+ <a class="pilcrow" href="#section-20">&#182;</a>
</div>
<p>Read last <code>size</code> bytes from the file</p>
@@ -463,11 +479,11 @@
</li>
- <li id="section-20">
+ <li id="section-21">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-20">&#182;</a>
+ <a class="pilcrow" href="#section-21">&#182;</a>
</div>
<p>Set the history on the interpreter</p>
@@ -478,11 +494,11 @@
</li>
- <li id="section-21">
+ <li id="section-22">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-21">&#182;</a>
+ <a class="pilcrow" href="#section-22">&#182;</a>
</div>
<p>If the history file was truncated we should pop off a potential partial line</p>
@@ -493,11 +509,11 @@
</li>
- <li id="section-22">
+ <li id="section-23">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-22">&#182;</a>
+ <a class="pilcrow" href="#section-23">&#182;</a>
</div>
<p>Shift off the final blank newline</p>
@@ -515,11 +531,11 @@
</li>
- <li id="section-23">
+ <li id="section-24">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-23">&#182;</a>
+ <a class="pilcrow" href="#section-24">&#182;</a>
</div>
<p>Save the latest command in the file</p>
@@ -533,11 +549,11 @@
</li>
- <li id="section-24">
+ <li id="section-25">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-24">&#182;</a>
+ <a class="pilcrow" href="#section-25">&#182;</a>
</div>
<p>Add a command to show the history stack</p>
@@ -554,11 +570,11 @@
</li>
- <li id="section-25">
+ <li id="section-26">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-25">&#182;</a>
+ <a class="pilcrow" href="#section-26">&#182;</a>
</div>
<p>Node 0.11 changed API, a command such as ‘.help’ is now stored as ‘help’</p>
@@ -587,11 +603,11 @@
</li>
- <li id="section-26">
+ <li id="section-27">
<div class="annotation">
<div class="pilwrap ">
- <a class="pilcrow" href="#section-26">&#182;</a>
+ <a class="pilcrow" href="#section-27">&#182;</a>
</div>
<p>Adapt help inherited from the node REPL</p>
Oops, something went wrong.

0 comments on commit e2a3a5b

Please sign in to comment.