Start reimplementation in typescript

This commit is contained in:
2025-11-10 23:54:20 -06:00
parent 569bff2d3e
commit 144d90e871
30 changed files with 1347 additions and 0 deletions

29
src/vm/commands/index.ts Normal file
View File

@@ -0,0 +1,29 @@
import {Command, CommandData} from './command.js'
import {Exit} from "./exit.js";
import {InFile} from "./infile.js";
import {Copy} from "./copy.js";
import {Edit} from "./edit.js";
import {From} from "./from.js";
import {History} from "./history.js";
import {Load} from "./load.js";
import {OutFile} from "./outfile.js";
import {Paste} from "./paste.js";
import {RunFile} from "./runfile.js";
import {Save} from "./save.js";
import {To} from "./to.js";
export type Commands = Command<CommandData>[]
export const commands: Commands = [
new Copy,
new Edit,
new Exit,
new From,
new History,
new InFile,
new Load,
new OutFile,
new Paste,
new RunFile,
new Save,
new To,
]