Fortran Reference
Warning: the documents below are not light reading, and, in some cases, are not light. Do not print unless you really want your own copy (and arm-ache).
The International Standards Organisation (ISO) does not publish its standards freely: it needs to make money! However, draft standards are sometimes available, and can be very close to the Real Thing.
The current Fortran ISO standard is being revised by J3 WG5. Its WWW page contains some useful documentation, with unclear copying restrictions. Hence the useful looking stuff is collected below, but restricted to this institution (until someone complains that I should not be copying it thus).
- Fortran 2023 Draft Standard (687 pages, locally cached from j3-fortran.org) and F23 new features
- Fortran 2018 Draft Standard (665 pages, locally cached from iso.org) and F18 new features
- Fortran 2008 Draft Standard (623 pages) and F08 new features
- Fortran 2003 Draft Standard (583 pages) and F03 new features
- Fortran 95 Draft Standard (376 pages)
- Fortran 90 Draft Standard (315 pages)
- Fortran 77 Standard (from fortran.com)
- Fortran 66 Standard (39 double column pages)
Cambridge users might also be able to browse the BSI website, via our institutional login, and search for ISO/IEC 1539 which is the current Fortran standard.
Fortran 2003 additionally defines a conditional compilation language, coco, which does not look very interesting and appears to rely on the language treating "!" as a comment character -- CPP may well be adequate instead. It also defines a standard for variable length strings.
Many compilers come / came with reasonable reference works too. Some of these can currently be found in
/rscratch/Compilers/docs/