summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-08-23 13:40:37 -0400
committerBrian Cully <bjc@spork.org>2025-08-23 21:26:06 -0400
commit365312b14723503424a601a49827c191af82ad7a (patch)
tree5e37a01320fa77b6a19d7f0f0b7d44ec28e38a07 /index.html
parent39042a3476ffbdc79d1e49a69cb5103628eb7265 (diff)
downloadautomathon-365312b14723503424a601a49827c191af82ad7a.tar.gz
automathon-365312b14723503424a601a49827c191af82ad7a.zip
begginnenblinken
Diffstat (limited to 'index.html')
-rw-r--r--index.html47
1 files changed, 30 insertions, 17 deletions
diff --git a/index.html b/index.html
index 7e2d4c6..8b96298 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,11 @@
<body>
<h1>automathon</h1>
- <textarea>
+ <div id='editor'>
+ <div id='code'>
+ <button id='compile'>compile</button>
+ <br>
+ <textarea id='src'>
: fac
dup
1 > if
@@ -15,22 +19,31 @@
then
;
5 fac
- </textarea>
- <button id='compile'>compile</button>
- <button id='tick'>tick</button>
- <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>
+drop</textarea>
+ </div>
+ <div id='state-container'>
+ <div id='state'>
+ <div class='controls'>
+ <button id='tick'>tick</button>
+ <button id='bench'>bench</button>
+ <button id='blinken'>blinken</button>
+ </div>
+ <fieldset class='wordlist'>
+ <legend>word list</legend>
+ <div id='wordlist'></div>
+ </fieldset>
+ <fieldset class='stack'>
+ <legend>stack</legend>
+ <ol id='stack'></ol>
+ </fieldset>
+ <fieldset class='callstack'>
+ <legend>call stack</legend>
+ <ol id='callstack'></ol>
+ </fieldset>
+ </div>
+ </div>
+ </div>
+ <br>
<canvas id='arena' width='512' height='512'>no canvas!</canvas>
<script src='./main.mjs' type='module'></script>
</body>