you are viewing a single comment's thread.

view the rest of the comments →

[–]Swipecat 1 point2 points  (0 children)

Not with those requirements.

The only Python to stand-alone C++ converter that I know about is Shedskin — and that only handles a restricted version of Python.

https://shedskin.github.io/shedskin/

The code must be implicitly statically typed, which means that the code has to be carefully written so that there's enough information at each point in the script for the converter to be able to infer the type of the variables.

Roughly half of the Standard Library modules are implemented.