almost a real repl

This commit is contained in:
dylan
2023-05-03 15:17:27 -07:00
parent 7de521bd39
commit 1482288b0c
6 changed files with 308 additions and 35 deletions

View File

@ -1,6 +1,7 @@
import {
mainloop,
frame,
clearScreen,
} from "./window.ts";
import { codeSheet } from "./sheet.ts";
import { refreshKeyboard } from "./keyboard.ts";
@ -11,6 +12,8 @@ const game = codeSheet(0);
game.init();
let mode: "play" | "edit" = "edit";
clearScreen();
await mainloop((_t) => {
// TODO: use t