Skip to content

Tag: ironpython

Interpret Python bytecode in C# (with fine control)

For a project idea of mine, I have the following need, which is quite precise: I would like to be able to execute Python code (pre-compiled before hand if necessary) on a per-bytecode-instruction basis. I also need to access what’s inside the Python VM (frame stack, data stacks, etc.). Ideally, I would …