summaryrefslogtreecommitdiffstats
path: root/site/index.html
diff options
context:
space:
mode:
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>