a macro library that expoes the bytecode of python
Project description
bytecode macro lib
exposes (a slightly modified version of) the bytecode of a function to allow for run-time modification of python syntax.
how to use
tbh i am quite busy right now so if you want to try using this library I would advise looking at the examples in meta to see how to use the library and just try to figure it out. note: as of the current state of documentation i would absolutely not recommended trying this out. But if you come back later I should have added documentation.
todo
- add documentation on the modifications to bytecode and how to read it
- allow for uncompile and the compile packages to be used independently on files for other cool stuff
- for some reason semantic checking is occuring with the compile method in macro_lib for byte_code tuple assembly from strings, check why and fix
- increase code re-use
- clean code of stuff that isn't used from when this was a different project (all the file stuff and header.py)
- add a .gitignore
- add temporary files, compilation and output files to this
- remove outdated tests in bytecode asm after documentation has finished
- remove all other temporary test files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bytecodemacro-1.0.0.tar.gz
(25.6 kB
view hashes)
Built Distribution
Close
Hashes for bytecodemacro-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b01e28f23b712ef0e64d966a76490ae36bc6445f6fb61321c32d70ba7b3f8237 |
|
MD5 | e84fee5925b3edead0a7155413cf0cc5 |
|
BLAKE2b-256 | 4cb5101fbb10720a9a14417666fb2544001677f5e89d50eaf957f499572a7c1e |