Converter
A script shot in 2001 by Denis Suro to convert Project C sources to C++. Converting C to C sources avoids identity conflicts and simplifies code reuse.
Written in Python, works on all systems.
GPL 2.0 licensing. - Requires Python 2.x.
Characteristics
This is a script set that converts C to C++ in several steps:
- formation of classes,
- transformation of functions into methods,
- Replace function calls with method references.
Scripts can be used separately.
Preliminary requirement
- Python The Python version 2 interpreter must be installed at least.
- The converter works better with a well-formatted source. There are instructors on the Internet.
- If you want to restore the manual, you need makeinfo.
Before running scripts, print the CTOCPP.INFO guide and carefully read the chapter entitled: step by step.
Tools included
- Searches Searches for - replaces in a file.
- Mover Moves the entire project from one or more directories to one or more directories . Of course, the "# include" lines are updated...
- Mklist Recursive, creates a list of all project files from a single file containing the "main" function.
Documentation
The English manual is included in the archive.
Loading
This program is provided as is, and it is likely that it will become incompatible with sequential versions of Python.
No support is provided.