summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-08-23 13:27:50 -0400
committerBrian Cully <bjc@spork.org>2025-08-23 13:27:50 -0400
commit39042a3476ffbdc79d1e49a69cb5103628eb7265 (patch)
tree2015faa21c5769640f815564c1021310eec4a378 /index.html
parent0753ea2b9e10b0f5030b05e84cd8490cc9ec7b34 (diff)
downloadautomathon-39042a3476ffbdc79d1e49a69cb5103628eb7265.tar.gz
automathon-39042a3476ffbdc79d1e49a69cb5103628eb7265.zip
render call and data stacks
Diffstat (limited to 'index.html')
-rw-r--r--index.html17
1 files changed, 13 insertions, 4 deletions
diff --git a/index.html b/index.html
index 16b132f..7e2d4c6 100644
--- a/index.html
+++ b/index.html
@@ -18,10 +18,19 @@
</textarea>
<button id='compile'>compile</button>
<button id='tick'>tick</button>
- <button id='run'>run</button>
- <div id='datastack'></div>
- <div id='callstack'></div>
- <div id='wordlist'></div>
+ <button id='bench'>bench</button>
+ <fieldset>
+ <legend>stack</legend>
+ <ol id='stack'></ol>
+ </fieldset>
+ <fieldset>
+ <legend>call stack</legend>
+ <ol id='callstack'></ol>
+ </fieldset>
+ <fieldset>
+ <legend>word list</legend>
+ <div id='wordlist'></div>
+ </fieldset>
<canvas id='arena' width='512' height='512'>no canvas!</canvas>
<script src='./main.mjs' type='module'></script>
</body>