Brandt Bucher
Brandt Bucher
Closes #123.
We could drastically simplify (and improve) things by using [`bytecode`](https://pypi.org/project/bytecode) as a backend, rather than our hand-rolled, hacky, one-pass "recompiler". I think this should fix things like line numbers, too!
We should allow things like `hax.LOAD_CONST(...)` in addition to just `LOAD_CONST(...)`.
Prefer `HAX_LABEL` instead.
A lot of this stuff can be simplified. Lets try to do that before going stable.
Currently, the code object we generate has too big of a stack, extra names/constants, and a ton of `NOP`s. We should take a page out of peephole.c’s playbook and optimize...
Currently, the behavior for user-specified `EXTENDED_ARG` ops is pretty undefined. Should we support them? What would that even look like?
Supported API ============= This is a (probably incomplete) listing of all the stable public APIs that PyCAPI intends to support, grouped by prefix. It will be updated as more are...