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++

Project Activity

See All Activity >

License

MIT License

Follow FortWrap

FortWrap Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Hits the spot.
Read more reviews >

Additional Project Details

Intended Audience

Developers

User Interface

Command-line

Programming Language

C++, Fortran, Python

Related Categories

Fortran Object Oriented Software, Fortran Code Generators, Python Object Oriented Software, Python Code Generators, C++ Object Oriented Software, C++ Code Generators

Registered

2010-08-18