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