New jsinterpreter demo includes wait block. Both demos have improved UI for clarity. (#1001)

Refactor of interpreter demo
 * Renamed demos/interpreter/index.html as demos/interpreter/step-execution.html (including redirect), and added demos/interpreter/async-execution.html.
 * Refactored code to automatically generate/parse the blocks, eliminating the need for a "Parse JavaScript" button. Code is still shown in alert upon stepping to the first statement. Print statements now write to output <textarea> instead of modal dialogs.
This commit is contained in:
Andrew n marshall
2017-05-01 17:28:34 -07:00
committed by GitHub
parent db26c4c541
commit fb020f1c06
5 changed files with 587 additions and 195 deletions

View File

@@ -107,8 +107,9 @@
</a>
</td>
<td>
<div><a href="interpreter/index.html">JS Interpreter</a></div>
<div>Step by step execution in JavaScript.</div>
<div style="font-weight: bold">JS Interpreter</div>
<div>Demo #1: <a href="interpreter/step-execution.html">Step by step execution in JavaScript.</a></div>
<div>Demo #2: <a href="interpreter/async-execution.html">Asynchronous execution in JavaScript.</a></div>
</td>
</tr>