def compile(path):
    package = _parse(path)
    errors = package.compile()
    if errors:
        raise CompilerException('Compiler errors', errors)

    return package
Compile a package from a path.
dataset/ETHPy150Open pdef/pdef/compiler/pdefc/__init__.py/compile