FortWrap is a python script that parses Fortran 90/95/200X source files and generates wrapper code in the form of C++ classes. FortWrap is intended to be used with object oriented Fortran code that makes use of Fortran derived types.
Project has moved to:
https://github.com/mcfarljm/fortwrap
Features
- Fortran derived types wrapped in C++ proxy classes
- Experimental support for polymorphism (CLASS variables) in version 2.0
- Arrays wrapped with C++ vectors
- Support for optional arguments
- Support for wrapping procedure pointers
- Support for string arguments
- Fortran doxygen comments transferred to C++ header files
- Name mangling support for gfortran and g95 compilers
- Wrappers respect Fortran public/private statements
- Generated code can be re-wrapped with swig -c++
License
MIT LicenseFollow FortWrap
Other Useful Business Software
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
-
Hits the spot.