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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
-
Hits the spot.