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
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.1.tar.gz
(25.7 kB
view hashes)
Built Distribution
Close
Hashes for bytecodemacro-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4c4d0681ced9a1ef33cd8d0ab47d196c5f217110f13fa37dd2093d91f46c70f |
|
MD5 | 7ec1677b3c5cf15b94da93b1ba26f70c |
|
BLAKE2b-256 | 7009cf3e2cca1a2f4171d61ed7914f0b8eac5b9dc57dbe6542e45bceadf5931c |