Reblok is a utility to build back an Abstract Syntax Tree (AST) from Python bytecode.
|Tags||Python decompiler Bytecode transformation bytecode abstract syntax tree AST decompilation|
|Implementation||Python 2.5 and above|
Release Notes: This release adds support for simple "try-except-finally" statements (with one "except" clause at most, and no "else" clause).
Release Notes: This release adds new options to the reblok program to display Python opcodes and AST tree, adds a unit test for the reblok program, and adds support for the following opcodes: DELETE_LOCAL, DELETE_GLOBAL, DELETE_NAME, UNPACK_SEQUENCE, BREAK_LOOP, and STORE_ATTR.
Release Notes: Partial unit tests were added for the reblok library. The reblok binary was partially implemented, which lets you uncompile a Python binary file and print out matching source code. The new TUPLE opcode was added, which distinguishes tuples from lists.