Start reimplementation in typescript
This commit is contained in:
29
src/vm/commands/index.ts
Normal file
29
src/vm/commands/index.ts
Normal 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,
|
||||
]
|
||||
Reference in New Issue
Block a user