|
A Wikibookian has nominated this book for cleanup because: This book is known to have several factual errors and may currently be inaccurate. You can help make it better. Please review any relevant discussion. |
A Wikibookian has nominated this book for cleanup because: This book is known to have several factual errors and may currently be inaccurate. You can help make it better. Please review any relevant discussion. |
Fortran is a programming language mainly used by the scientific community. Its name is a contraction of FORmula TRANslation, and its aim is to provide a way to tell computers to calculate complicated mathematical expressions, with more ease than assembly language.
FORTRAN is one of the earliest programming languages. The original versions used punched cards to write programs with. FORTRAN's age is both a strength and a weakness. On one hand, FORTRAN has a huge number of libraries of code available. However, Fortran also has many archaic features, especially in the earlier versions.
Fortran originally included a not-so-intuitive syntax, having fixed fields (a 5-digit line number, a continuation marker, and a statement area (plus a card sequence-number area on some versions). However, newer specifications for FORTRAN , such as Fortran 90, 95, 2003 and 2008 do not require such anachronistic formatting. In addition, many compilers have additional improvements for non-standard code. This book is intended to help write code compliant with the Fortran 95 standard. Some pieces of the 2003 standard are also included. The newer standards add functionality and attempt to be fully backward compatible. Where appropriate the differences in usage between these legacy versions and the modern standard will be highlighted as there is a significant code base written in older versions, especially FORTRAN 77.
Overview
- Learning Fortran for Programmers
- History of Fortran If you have programmed before and would like to see a little bit of how Fortran works and is different from other programming languages, read this overview.
- Frequently Asked Questions
- Differences between Fortran Versions A quick overview of the differences between the 77, 90 and 95 and 2003 and 2008 versions.
Introduction to Fortran
In-depth Fortran ideas
Fortran and beyond
- Language Overloading and Extensions
- Combining Languages
- Commented Source Code Library
- Tools to prettify Source Code
Examples
External links
Compilers
- g95 Compiler
- GNU g77 (gcc) Fortran 77 Compiler
- GNU gfortran (gcc) Fortran 95 Compiler
- Intel Fortran Compiler for Linux: a free non-commercial Fortran compiler
- Free Sun Fortran 95, C, and C++ compilers and tools