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