summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/index.html b/index.html
index c985df4..16b132f 100644
--- a/index.html
+++ b/index.html
@@ -7,6 +7,21 @@
<body>
<h1>automathon</h1>
+ <textarea>
+: fac
+ dup
+ 1 > if
+ dup 1 - fac *
+ then
+ ;
+5 fac
+ </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>
<canvas id='arena' width='512' height='512'>no canvas!</canvas>
<script src='./main.mjs' type='module'></script>
</body>