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
- test pip
- 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
- remove the example files in meta and move them to the documentation for some examples
- do something about those long ass import statements
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-2.0.0.tar.gz
(26.6 kB
view hashes)
Built Distribution
Close
Hashes for bytecodemacro-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f25bf68f6b2f3cbf97cad0df91cf69cc01114fa9db8dbfc2e2cd9acdae7dc7cf |
|
MD5 | b7db0e23b716bb34b9a758792b06c9fc |
|
BLAKE2b-256 | 83b2a493b1702a9e0085bc55d0e5775091b8b4d3137641c38d9cdc9b7df9bb2e |