I need to convert python script How to parse the Manifest.mbdb file in an iOS 4.0 iTunes Backup to c++ code. Is there any conversion tool for that? Can anyone provide C++ code for Manifest.mbdb
parser?
Asked
Active
Viewed 2,081 times
0
-
10The conversion tool is you! Roll up your sleeves and get cracking. – wilx May 10 '11 at 12:15
-
Possible duplicate of [Convert Python program to C/C++ code?](https://stackoverflow.com/q/4650243/608639) – jww Nov 21 '19 at 13:35
1 Answers
1
Try ShedSkin
From the website:
Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.

riza
- 16,274
- 7
- 29
- 29
-
Shed Skin could help, although you'll probably have to rewrite the Python version to accommodate it's restrictions (it can't just compile any Python code). I've had good luck with it, it's a great project. – Zach Kelling May 10 '11 at 16:05
-
@zeekay: can it do just the "implicitly statically typed" part? Enforcing inferred type-safety on sections of Python is probably useful even if you're not planning to convert to C++! – Steve Jessop May 10 '11 at 17:14
-
No, it is a Python to C++ compiler. Python 3 introduced function annotations which would probably be good for that: http://www.python.org/dev/peps/pep-3107/ – Zach Kelling May 10 '11 at 17:20
-
@zeekay: annotations are explicit typing, I meant something more type-inference-ey. – Steve Jessop May 11 '11 at 00:24