Skip to content

gutemine/cpp2python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

cpp2python

Script helps to convert C/C++ sources to C/C++ -like Python sources.

It does few simple edit operations, like removing semicolons and type declarations. After it you must edit code manually, but you'll spend less time to do it.

Utility will make mistaces and will not generate ready for use code, so, it won't help you, unless if you know either C/C++ and Python

For better result, it is recomented to format your code to ANSI style before doing conversion.

NO ANY BACKUPS ARE CREATED. YOU MAY PERMANENTLY CORRUPT YOR SOURCES

Usage:

cpp2python.py DIR|FILE
cpp2python.py -v|--version|-h|--help

When directory name is given - tries to find source files by C/C++ suffixes, when file name is given - processes given file

Author: Andrei Kopats [email protected] License: GPL

About

C++ to Python converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors