Interesting that you bring this up. Just earlier this week I published the
first version of a new package that lets you write compiled bytecode
instructions inline with pure-Python syntax. The code's still a bit messy,
being only a week old and all, but it works as advertised for CPython 3.6.2
Hi,
On Fri, 25 Oct 2019 at 04:13, Jonathan Goble wrote:
>> Has anyone already done this that people know of? (Searching the Internetz
>> didn't turn anything up) Failing that, to what extent is it reasonable to
>> either consider assemble() as some kind of sane API point into compile.c
PyPy co
On Thu, Oct 24, 2019, 9:05 PM Yonatan Zunger wrote:
> Hi everyone,
>
> Has anyone already done this that people know of? (Searching the
> Internetz didn't turn anything up) Failing that, to what extent is it
> reasonable to either consider assemble() as some kind of sane API point
> into compile.
Hi everyone,
I've found myself recently writing Python code that dynamically generates
bytecode.ยน I now have yet another case where I'm having to do this, in
which my nice situation of being able to easily precompute all the jump
addresses no longer holds. So I'm starting to write a helper to make