.. | ||
autoload.el | ||
config.el | ||
doctor.el | ||
README.org |
lang/fortran
Description
This module enables a complete, modern development environment for the Fortran language. Initially released in 1956 (a year before Lisp 1.0), Fortran is the original high-performance computation language and is still widely used in science and academia. Popular versions of the language include Fortran 77 and Fortran 90, with further extensions in the 1995 and 2008 varieties. Today, Fortran has joined the modern age with its own package manager, package registry, and Discourse community.
In particular, this module features:
- Support for all major Fortran varieties.
- Auto-formatting via
fprettier
. - Integration with the
fpm
package manager. - LSP support via fortls.
After a career of writing Fortran on Mainframes and Windows machines, my now-retired Dad is switching to Linux. Imagine my surprise when I learned that off-the-shelf setups for Fortran on Linux basically don't exist! Well, until now… Cheers Dad, hope this helps.
Maintainers
- @fosskers (Author)
Module Flags
+lsp
Activatefortls
for Fortran projects.
Plugins
Prerequisites
For minimum functionality, this module requires gfortran
. For most project
management tasks you will also need fpm, the Fortran Package Manager.
Arch Linux
gfortran
is available from the official repositories:
sudo pacman -S gcc-fortran
Whereas fpm
and fortls
are available from the AUR and thus must be installed
with an AUR-compatible tool like Aura:
sudo aura -A fortran-fpm fortls