from .compressor import compress, generate_lengths, rebuild_stream
from .main import (
    encode_instructions,
    encode_pool,
    encode_operands,
    generate_header,
    Instruction,
    InstructionGenerator,
    OpCodes,
    to_bytecode,
)
from .simplifier import simplify

__all__ = (
    "compress",
    "encode_instructions",
    "encode_pool",
    "encode_operands",
    "generate_header",
    "generate_lengths",
    "Instruction",
    "InstructionGenerator",
    "OpCodes",
    "rebuild_stream",
    "simplify",
    "to_bytecode",
)

from .compressor import compress, generate_lengths, rebuild_stream
from .main import (
    encode_instructions,
    encode_pool,
    encode_operands,
    generate_header,
    Instruction,
    InstructionGenerator,
    OpCodes,
    to_bytecode,
)
from .simplifier import simplify

__all__ = (
    "compress",
    "encode_instructions",
    "encode_pool",
    "encode_operands",
    "generate_header",
    "generate_lengths",
    "Instruction",
    "InstructionGenerator",
    "OpCodes",
    "rebuild_stream",
    "simplify",
    "to_bytecode",
)
