summaryrefslogtreecommitdiffstats
path: root/main.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'main.mjs')
-rw-r--r--main.mjs5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.mjs b/main.mjs
index c07dccd..a555a60 100644
--- a/main.mjs
+++ b/main.mjs
@@ -1,4 +1,4 @@
-import init, { compile, run, tick } from './pkg/automathon.js';
+import init, { compile, run, tick, wordlist, ip, interp } from './pkg/automathon.js';
async function loaded() {
console.debug('running init');
@@ -13,6 +13,9 @@ async function loaded() {
document.querySelector('#tick').onclick = e => {
console.debug('tick clicked', e);
tick();
+ console.debug('result of ip', ip());
+ console.debug('result of wordlist', wordlist());
+ console.debug('result of interp', interp());
};
document.querySelector('#run').onclick = e => {
console.debug('run clicked', e);