40 lines
846 B
TypeScript
40 lines
846 B
TypeScript
"use strict";
|
|
|
|
import { assemble, CodeNode, DataNode, disassemble, EvaluationNode, ExecutionNode, formatBytecode, LabelNode, LabelledNode, LinkNode, LiteralNode, Node, OpcodeNode, parse, ScopeNode, ValueNode } from "./assembler";
|
|
import { Opcode } from "./opcodes";
|
|
|
|
import { AssemblerOptions, AssembleVisitFunc, Bytecode, Location, Operation, VisitFunc } from "./assembler";
|
|
|
|
export {
|
|
// Opcodes
|
|
Opcode,
|
|
|
|
// Assembler functions
|
|
assemble,
|
|
disassemble,
|
|
formatBytecode,
|
|
parse,
|
|
|
|
// Assembly AST Nodes
|
|
CodeNode,
|
|
DataNode,
|
|
EvaluationNode,
|
|
ExecutionNode,
|
|
LabelNode,
|
|
LabelledNode,
|
|
LinkNode,
|
|
LiteralNode,
|
|
Node,
|
|
OpcodeNode,
|
|
ScopeNode,
|
|
ValueNode,
|
|
|
|
// Assembler Types
|
|
AssemblerOptions,
|
|
AssembleVisitFunc,
|
|
Bytecode,
|
|
Location,
|
|
Operation,
|
|
VisitFunc,
|
|
}
|