# Path: bincode/encoder.py
# class ConstantTable(object):
# class WriteStream(object):
#     def __init__(self):
#     def get(self, const):
#     def __init__(self, fd):
#     def close(self):
#     def write(self, data):
#     def write_ubyte(self, ubyte):
#     def write_uint(self, uint):
#     def write_integer(self, value):
#     def write_string(self, string):
#     def write_i64(self, value):
#     def write_u64(self, value):
#     def write_u16(self, value):
#     def write_double(self, value):
# def open_file(pathname):
# def dump_function(pathname, constants, functions):


from bincode.encoder import ConstantTable, Function, dump_function
from instruction_format import enc_code

def main():
    stringtab = ConstantTable()
    function = Function(0x0, 4, 10, [
        enc_code('jump', 1, 2, 3, 4),
        ''.join((
            enc_code('add', 1, 2, 3),
            enc_code('cond', 3, 4, 5),
        )),
    ], [

# Path: bincode/encoder.py
# class ConstantTable(object):
# class WriteStream(object):
#     def __init__(self):
#     def get(self, const):
#     def __init__(self, fd):
#     def close(self):
#     def write(self, data):
#     def write_ubyte(self, ubyte):
#     def write_uint(self, uint):
#     def write_integer(self, value):
#     def write_string(self, string):
#     def write_i64(self, value):
#     def write_u64(self, value):
#     def write_u16(self, value):
#     def write_double(self, value):
# def open_file(pathname):
# def dump_function(pathname, constants, functions):


# Path: minicompiler.py
from bincode.encoder import ConstantTable, Function, dump_function
from instruction_format import enc_code


def main():
    stringtab = ConstantTable()
    function = Function(0x0, 4, 10, [
        enc_code('jump', 1, 2, 3, 4),
        ''.join((
            enc_code('add', 1, 2, 3),
            enc_code('cond', 3, 4, 5),
        )),
    ], [

        Function(0x0, 1, 2, [], []),