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)
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
- Fortran Package Manager — Package manager and build system for Fortran
- fortls — Fortran Language Server
- FORD — Generates documentation from code comments.
- f2c — Fortran to C code translator
See also the fortran-lang package index.
See also
- The J3 (US) and WG5 (international) Fortran Standards committees.