All Projects → ylikx → fortran-legacy-tools

ylikx / fortran-legacy-tools

Licence: GPL-3.0 license
Three tools to deal with Fortran code: fixed to free source form converter, upper- to lowercase converter, formatter for variable declarations

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to fortran-legacy-tools

brkraw
BrkRaw: A comprehensive tool to access raw Bruker Biospin MRI data
Stars: ✭ 31 (-22.5%)
Mutual labels:  converter
CFortranTranslator
A translator from Fortran to C++. We provide statement-wise translation to improve readability.
Stars: ✭ 81 (+102.5%)
Mutual labels:  converter
csv2html
Convert CSV files to HTML tables
Stars: ✭ 64 (+60%)
Mutual labels:  converter
csv-to-sqlite
A command-line tool that copies data from CSV files into a SQLite database.
Stars: ✭ 62 (+55%)
Mutual labels:  converter
ytdx
Download audio from YouTube videos
Stars: ✭ 55 (+37.5%)
Mutual labels:  converter
CARE
CHAI and RAJA provide an excellent base on which to build portable codes. CARE expands that functionality, adding new features such as loop fusion capability and a portable interface for many numerical algorithms. It provides all the basics for anyone wanting to write portable code.
Stars: ✭ 22 (-45%)
Mutual labels:  portability
node-poppler
Asynchronous node.js wrapper for the Poppler PDF rendering library
Stars: ✭ 97 (+142.5%)
Mutual labels:  converter
EMBLmyGFF3
An efficient way to convert gff3 annotation files into EMBL format ready to submit.
Stars: ✭ 52 (+30%)
Mutual labels:  converter
LvArray
Portable HPC Containers (C++)
Stars: ✭ 37 (-7.5%)
Mutual labels:  portability
ARF-Converter
Bulk ARF file converter
Stars: ✭ 15 (-62.5%)
Mutual labels:  converter
a2mp3
convert (nearly) every type of (audio)file to mp3 in a quick, easy, batch-enabled way!
Stars: ✭ 43 (+7.5%)
Mutual labels:  converter
osm-parquetizer
A converter for the OSM PBFs to Parquet files
Stars: ✭ 71 (+77.5%)
Mutual labels:  converter
hl7v2-fhir-converter
Converts HL7 v2 Messages to FHIR Resources
Stars: ✭ 40 (+0%)
Mutual labels:  converter
zxtap-to-wav
Converter of .TAP files (a ZX-Spectrum emulator data format) into .WAV sound files
Stars: ✭ 34 (-15%)
Mutual labels:  converter
discoursegraphs
linguistic converter / merging tool for multi-level annotated corpora. graph-based (using Python and NetworkX).
Stars: ✭ 47 (+17.5%)
Mutual labels:  converter
BlocksConverter
A PocketMine-MP plugin allows you to convert Minecraft PC maps to MCPE/Bedrock maps or vice-versa.
Stars: ✭ 47 (+17.5%)
Mutual labels:  converter
VIDEOconvertor
A stable and Fast telegram video convertor bot which can encode into different libs and resolution, compress videos, convert video into audio and other video formats, rename with thumbnail support, generate screenshot and trim videos.
Stars: ✭ 180 (+350%)
Mutual labels:  converter
DirectFire Converter
DirectFire Firewall Converter - Network Security, Next-Generation Firewall Configuration Conversion, Firewall Syntax Translation and Firewall Migration Tool - supports Cisco ASA, Fortinet FortiGate (FortiOS), Juniper SRX (JunOS), SSG / Netscreen (ScreenOS) and WatchGuard (support for further devices in development). Similar to FortiConverter, Sm…
Stars: ✭ 34 (-15%)
Mutual labels:  converter
man-to-md
Converts man pages to Markdown
Stars: ✭ 51 (+27.5%)
Mutual labels:  converter
calibre-kindle-comics
A calibre plugin that converts your comics into a readable format for kindle.
Stars: ✭ 32 (-20%)
Mutual labels:  converter

fortran-legacy-tools

Tools to deal with Fortran code


fixed2free/fixed2free2.py:

Tool to convert from FORTRAN fixed source form files to free source form. Supports OpenMP and C-preprocessor statements.

The FORTRAN fixed source format dates back to time when punched cards were used in programming. Nevertheless it is widespread in the numerical computing community. Even programs written according to the most recent Fortran 2008 standard can be written in fixed source form, although this is deprecated since Fortran 2003.

This script converts fixed source form files to the free source form, introduced with Fortran 90. In refactoring legacy Fortran codes this is a useful first step.

Some similar tools that I tried, attempt to automatically upgrade deprecated language constructs with varying success. This tool takes a more minimalistic approach and changes only the source form.

Automatic unit tests are provided with the Test_fixed2free2.py file.


flowercase/flowercase.py:

Tool to convert free source form Fortran code to lower-case while leaving comments and strings unchanged. Mixed case identifiers and keywords are left unchanged.


fdeclarations/fdeclarations.py:

Tool to separate subroutine arguments from declarations of local variables.

Legacy Fortran subroutines often have huge argument lists. Fortran allows mixing of argument datatype declarations and declarations of local variables, which can lead to confusion.

This tool generates code for a wrapper of the given subroutine, which groups declarations into 3 sections: -) parameters (might be needed for dimensions of array arguments) -) subroutine arguments -) local variables (commented out)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].