* feat(fortran): account for f90 and fortran modes * feat(fortran): initial keybindings * feat(fortran): basic compilation * feat(fortran): compilation popup This customizes the name of the compilation buffer produced by the `compile` function. We're keeping things simple; Emacs already knows how to run compilation commands in a popup and parse the results, so let's let it do its thing. * feat(fortran): doctor checks * docs(fortran): installation instructions * feat(fortran): actual usage of fpm * feat(fortran): configure compilation popups * feat(fortran): improved raw gfortran usage Although it's recommended to do everything through `fpm` to make life easier. * docs(fortran): backburner `+intel` for now * feat(fortran): address PR suggestions |
||
---|---|---|
.. | ||
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 fortran-language-server.
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
Activatefortran-language-server
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
is available from the AUR and thus must be installed with an
AUR-compatible tool like Aura:
sudo aura -A fortran-fpm