Jump to content

# Fortran

1 language

- 日本語

From ArchWiki

This article or section is a candidate for merging with Programming languages.

Notes: Not enough content for a separate page. (Discuss in Talk:Fortran)

Fortran is a general-purpose, compiled imperative programming language that is especially suited to numeric computation and scientific computing.

From the Fortran Community (fortran-lang) site:

  Fortran is mature and under active development. The latest revision of the language is Fortran 2023. There are over a dozen open source and proprietary Fortran compilers. Further, open source projects like the Standard Library and the Fortran Package Manager are under active development.

## Compilers

The gcc-fortran package enables the Fortran front-end for GCC.

Other Fortran compilers available for Arch Linux include

- lfortran — Modern interactive Fortran compiler built on top of LLVM

  https://lfortran.org || lfortranAUR

- (LLVM) Flang — New LLVM front-end for Fortran 2018 implemented in modern C++

  https://flang.llvm.org/ || flangAUR

- Flang (classic) — Out-of-tree Fortran compiler targeting LLVM (to be replaced by the new Flang in the future)

  https://github.com/flang-compiler/flang || flang-classicAUR

See also fortran-lang for a list of open-source and commercial compilers. Check your compiler's documentation to verify which standards it conforms to and what language extensions it provides.

## Additional packages

- Fortran Standard Library — Aims to provide a community driven and agreed upon de facto "standard" library for Fortran

  https://stdlib.fortran-lang.org/ || fortran_stdlibAUR

- Fortran Package Manager — Package manager and build system for Fortran

  https://stdlib.fortran-lang.org/ || fortran-fpmAUR fortran-fpm-binAUR

- fortls — Fortran Language Server

  https://fortls.fortran-lang.org/ || fortlsAUR

- FORD — Generates documentation from code comments.

  https://github.com/Fortran-FOSS-Programmers/ford || fordAUR

- f2c — Fortran to C code translator

  https://www.netlib.org/f2c/ || f2cAUR

See also the fortran-lang package index.

## See also

- fortran-lang resources for learning modern Fortran

- The Fortran Wiki

- The J3 (US) and WG5 (international) Fortran Standards committees.

Category:

- Programming languages

Hidden category:

- Pages or sections flagged with Template:Merge