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
Red Hat Ansible Automation Platform on Microsoft Azure Icon
Red Hat Ansible Automation Platform on Microsoft Azure

Red Hat Ansible Automation Platform on Azure allows you to quickly deploy, automate, and manage resources securely and at scale.

Deploy Red Hat Ansible Automation Platform on Microsoft Azure for a strategic automation solution that allows you to orchestrate, govern and operationalize your Azure environment.
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