diff options
| author | Brian Cully <bjc@spork.org> | 2025-08-24 09:16:11 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-08-24 09:31:51 -0400 |
| commit | 49ab2791b861884d01488de68f63bdd49d71c1b2 (patch) | |
| tree | 54ee6f6db5be39093ffd22995461001d732f7dc2 /index.html | |
| parent | 365312b14723503424a601a49827c191af82ad7a (diff) | |
| download | automathon-49ab2791b861884d01488de68f63bdd49d71c1b2.tar.gz automathon-49ab2791b861884d01488de68f63bdd49d71c1b2.zip | |
pass annotations to js so we can highlight program text
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -7,11 +7,12 @@ <body> <h1>automathon</h1> + <div id='editor'> <div id='code'> <button id='compile'>compile</button> <br> - <textarea id='src'> + <pre id='src' contenteditable='plaintext-only'> : fac dup 1 > if @@ -19,8 +20,9 @@ then ; 5 fac -drop</textarea> +drop</pre> </div> + <div id='state-container'> <div id='state'> <div class='controls'> @@ -44,7 +46,6 @@ drop</textarea> </div> </div> <br> - <canvas id='arena' width='512' height='512'>no canvas!</canvas> <script src='./main.mjs' type='module'></script> </body> </html> |
