Skip to content

Tag: code-generation

Convert python objects to python AST-nodes

I have a need to dump the modified python object back into source. So I try to find something to convert real python object to python ast.Node (to use later in astor lib to dump source) Example of usage I want, Python 2: Please help me to find that some_magic Answer There’s no way to do what you want, b…

Convert Python program to C/C++ code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 months ago. Improve this question is it possible to convert a Python program to C/C++? I need to implement …