<spanclass="nv">quit: </span><spanclass="o">-></span><spanclass="nx">process</span><spanclass="p">.</span><spanclass="nx">exit</span><spanclass="p">(</span><spanclass="mi">0</span><spanclass="p">)</span></pre></div></td></tr><trid="section-4"><tdclass="docs"><divclass="octowrap"><aclass="octothorpe"href="#section-4">#</a></div><p>The main REPL function. Called everytime a line of code is entered.
Attempt to evaluate the command. If there's an exception, print it.</p></td><tdclass="code"><divclass="highlight"><pre><spanclass="nv">readline: </span><spanclass="p">(</span><spanclass="nx">code</span><spanclass="p">)</span><spanclass="o">-></span>
<spanclass="nx">print</span><spanclass="nx">prompt</span></pre></div></td></tr><trid="section-5"><tdclass="docs"><divclass="octowrap"><aclass="octothorpe"href="#section-5">#</a></div><p>Start up the REPL.</p></td><tdclass="code"><divclass="highlight"><pre><spanclass="nx">process</span><spanclass="p">.</span><spanclass="nx">stdio</span><spanclass="p">.</span><spanclass="nx">addListener</span><spanclass="s1">'data'</span><spanclass="p">,</span><spanclass="nx">readline</span>