summaryrefslogtreecommitdiffstats
path: root/site/index.html
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-08-24 15:46:22 -0400
committerBrian Cully <bjc@spork.org>2025-08-24 15:46:22 -0400
commit411f2735bffc42d11a3b1b3447bbb1603e48a3eb (patch)
tree9444596251baf8625522190a721d422adb69ce2e /site/index.html
parent0efb15a9eb706896cdabb9ca5d2b0c295c2dffcf (diff)
downloadautomathon-411f2735bffc42d11a3b1b3447bbb1603e48a3eb.tar.gz
automathon-411f2735bffc42d11a3b1b3447bbb1603e48a3eb.zip
move html stuff into ‘site’
Diffstat (limited to 'site/index.html')
-rw-r--r--site/index.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/site/index.html b/site/index.html
new file mode 100644
index 0000000..77c2bdc
--- /dev/null
+++ b/site/index.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>automathon</title>
+ <link rel='stylesheet' href='main.css'>
+ </head>
+
+ <body>
+ <h1>automathon</h1>
+
+ <div id='editor'>
+ <div id='code'>
+ <button id='compile'>compile</button>
+ <br>
+ <div id='src' contenteditable='plaintext-only'>: fac
+ dup
+ 1 > if
+ dup 1 - fac *
+ then
+ ;
+5 fac
+drop</div>
+ </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>
+ <script src='./main.mjs' type='module'></script>
+ </body>
+</html>