2020-01-30 21:26:46 -05:00
|
|
|
"use strict";
|
|
|
|
|
2020-02-05 21:55:26 -05:00
|
|
|
import { assemble, DataNode, disassemble, EvaluationNode, ExecutionNode, formatBytecode, LabelNode, LabelledNode, LinkNode, LiteralNode, Node, OpcodeNode, parse, PopNode, ScopeNode, ValueNode } from "./assembler";
|
2020-01-30 21:41:03 -05:00
|
|
|
import { Opcode } from "./opcodes";
|
2020-01-30 21:26:46 -05:00
|
|
|
|
2020-02-05 21:55:26 -05:00
|
|
|
import { AssemblerOptions, AssembleVisitFunc, Bytecode, Location, Operation, ParserOptions, SemanticError, SemanticErrorSeverity, VisitFunc } from "./assembler";
|
2020-01-30 21:26:46 -05:00
|
|
|
|
|
|
|
export {
|
|
|
|
// Opcodes
|
|
|
|
Opcode,
|
|
|
|
|
|
|
|
// Assembler functions
|
|
|
|
assemble,
|
|
|
|
disassemble,
|
|
|
|
formatBytecode,
|
|
|
|
parse,
|
|
|
|
|
|
|
|
// Assembly AST Nodes
|
|
|
|
DataNode,
|
|
|
|
EvaluationNode,
|
|
|
|
ExecutionNode,
|
|
|
|
LabelNode,
|
|
|
|
LabelledNode,
|
|
|
|
LinkNode,
|
|
|
|
LiteralNode,
|
|
|
|
Node,
|
|
|
|
OpcodeNode,
|
2020-02-05 21:55:26 -05:00
|
|
|
PopNode,
|
2020-01-30 21:26:46 -05:00
|
|
|
ScopeNode,
|
|
|
|
ValueNode,
|
|
|
|
|
|
|
|
// Assembler Types
|
|
|
|
AssemblerOptions,
|
|
|
|
AssembleVisitFunc,
|
|
|
|
Bytecode,
|
|
|
|
Location,
|
|
|
|
Operation,
|
2020-02-05 21:55:26 -05:00
|
|
|
SemanticError,
|
|
|
|
SemanticErrorSeverity,
|
|
|
|
ParserOptions,
|
2020-01-30 21:26:46 -05:00
|
|
|
VisitFunc,
|
|
|
|
}
|