Quickly Convert Embedded Systems & Legacy RTOS source to Linux, Windows using the K.I.S.S. principle

Click here for Source to Source Conversion Home Page

Micro-Processor Services, Inc.
Tel. 561 302 3276
Contact us

Source to Source Compilers for Converting Legacy Mainframe & Embedded Applications to C, C++, CPP, C#, CS, JAVA, VB, NinjaScript, Structured Text (ST), .NET

Software Product Box Image


  • Simple to use, automated process
  • Translation of Fortran fragments
  • Translation of INCLUDE or COPY files
  • Translation of Fortran directives
  • Support for card format input
  • Extensive error checking diagnostics
  • Accurate translation
  • Run time interface
  • Easy to install
  • Compatible with many Fortran compilers
  • Translates include files on the fly
  • Moves nested procedures
  • Completes unqualified structure members
  • recognizes EXEC, END-EXEC pair for DB2 and SQL.
  • Flags Fortran syntax errors in listing file
  • Outputs ANSI C or K&R C
  • Generates C translation files with comments logically placed
  • Includes skeletons in C of runtime support functions
  • Provides a list of implicitly declared variables in each module
  • Has a by-pass capability that allows translation even with syntax errors in the input file
  • Converts Fortran programs to C so you can move your program to other processors
  • Translation may be done in an editor environment with error message capability using "Brief" or any editor that is supported
  • Flags syntax errors and generates listing file with levels for include files
  • WIN32 protected mode operation allows translation of very large source files (more then to 500,000 lines per file)



    Fortran II user manual
    Fortran IV user manual
    Fortan 66 ANSI standard


    Micro-Processor Services
    Contact us

    Fortran to "C" Translator, Converter, Compiler.

    The FOR2C® translator is a family of Microsoft Windows cross compiler programming tools that accepts many Fortran source code dialects and translates them to C. The translation process is a simple turn key process with minimal user intervention. The translator output is K&R, ANSI C or C++ code that is ready to be tested with the target compiler. Simply run your Fortran code through the translator and start debugging C code with your target compiler


    The FOR2C® family of software translator tools convert existing Fortranprograms to C. The powerful dual conversion FOR2C® translators accept Fortranprograms in numerous dialects, check their syntax, analyze the syntax tree and generate C source code. Comments are moved transparently from the source file to the target file. Any built-in functions for math, string manipulation, and I/O in Fortranare converted to calls to external procedure. The translator family currently supports the following Fortran dialects: For other dialects or custom translation, please contact us for a price quote.

    Dialect type 1: Fortran II
    Dialect type 2: Fortran IV
    Dialect type 3: Fortran V
    Dialect type 4: Fortran 66
    Dialect type 5: Fortran 77
    Dialect type 6: Fortran 90
    Dialect type 7: Fortran 95
    Dialect type 8: Fortran 2003
    Dialect type 9: Fortran 2008
    Dialect type A: Fortran IBM704
    Dialect type B: Fortran HP
    Dialect type C: Fortran OpenMP
    Dialect type D: Fortran PPF77

    ORDER: FOR2C type x ( select one from above)

    The FOR2C® translators contain a syntax analyzer, a Fortran to tertiary converter, and a tertiary to C converter. The syntax analyzer scans the Fortraninput file for syntactic errors and generates a listing file of the Fortranprogram. Any syntactic errors will be flagged with detailed English messages in the listing file. If no errors are encountered, then the Fortraninput file is converted to tertiary language.

    The transfer of the Fortransource language into an intermediate tertiary language ensures the logical equivalence between the source and target languages. This tertiary language is common to the entire family of our translators. The tertiary language is automatically converted to C while maintaining the logical equivalence between the output C program and the input Fortranprogram.


    Note: The number in the parentheses indicates the number of formats supported for this

    allocate statement
    assignment statement
    call statement
    close statement
    delete statement
    free statement
    get statement
    leave statement
    goto statement
    locate statement
    null statement
    open statement
    read statement
    put statement
    read statement
    return statement
    revert statement
    rewrite statement
    signal statement
    stop statement
    write statement

    * This statement is not translated. It is passed
    through as a comment.


    aligned area binary bit character complex decimal entry file fixed float format label member non varying offset picture pointer precision real structure union unaligned varying


      HOSTS SUPPORTED: Microsoft Windows platforms.

    TRANSLATION METHOD: Double conversion from PL/I to tertiary and then from tertiary to C.

    TRANSLATION CAPACITY:. WIN32 version can translate greater then 500,000 lines per file.

    TRANSLATOR RUN TIME SUPPORT: Skeletons in C of the run time support function are available with the translator. 


    COPY PROTECTION: Includes USB security lock

    DOCUMENTATION:  User's Guide

    SUPPORT: Includes 30 days free telephone or e-mail technical support. For updates, monthly support must be purchased.

    WEIGHT: 2 pounds

    ORDER: FOR2C type xx ( select one from above)