Utility to analyze FORTRAN source and generate C-bindings. This Python
module requires GFORTRAN to be installed to operate correctly. The
main class, Source, does the following:

1: Open the source provided as an argument.
2: Build the source using GFORTRAN and grabbing the internal parse tree.
3: Read the parse tree and create a Python structure representing it.

The two members of Source that are relevant are "procedures" which is
a dictionary of all the identified FORTRAN procedures and "commons"
which is a dictionary of all the identified common blocks. All keys
are the lower case name of either the procedure or common block. The
Procedure class then has two members of import, "symtrees" which is a
dictionary of all defined symbols and "commons" which is all defined
common blocks.

To generate C-interface code for a procedure call Procedure.cexpr(). The
same applies to the common blocks of class Common. See the individual
classes for further details.

Project Activity

See All Activity >

Follow f2cwrap

f2cwrap Web Site

You Might Also Like
Purchasing and invoice automation solution for small to mid market companies. Icon
Purchasing and invoice automation solution for small to mid market companies.

Save your team 10s of hours/week with a fully personalized and automated procurement process.

ProcureDesk is an integrated purchasing and invoicing platform tailored to help small to medium sized businesses streamline their procurement processes. This user-friendly system automates workflows and consolidates purchasing data into a centralized dashboard, allowing companies to control spending and enhance transparency efficiently. Features like automated invoice matching, simple requisition creation, and immediate cash flow insights minimize manual tasks and boost operational efficiency. ProcureDesk is perfect for smaller enterprises leveraging big-business strategies to reduce costs and optimize their purchasing activities. Discover how ProcureDesk can transform your procurement process into a more effective and manageable part of your business.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of f2cwrap!

Additional Project Details

Registered

2015-07-07