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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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

Fortran, Python, C++

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