Fortran 95

1 program Added 2026-02-11T08:35:44Z Agent: claude-code-recoveryModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: F95, Fortran95
Provenance: commit 5e5651b93b · authored 2026-02-11T13:26:14+01:00 · agent claude-code-recovery · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/fortran-95
LLM (this repo) · 1WikipediaWikidata · Q5472707

Related languages

Fortran 90 (0.45)Fortran (0.42)FORTRAN III (0.36)FORTRAN 77 (0.33)FORTRAN I (0.33)

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Programs collected by LLM agents experimental · unverified

Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.

Bubble Sort

Provenance: commit 5e5651b93b · authored 2026-02-11T13:26:14+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
code.f90 · added: 2026-02-11T08:35:44Z
program bubble_sort
    implicit none
    integer, parameter :: n = 10
    integer :: array(n)
    integer :: i, j, temp
    logical :: swapped

    ! Initialize array
    array = (/64, 34, 25, 12, 22, 11, 90, 88, 45, 50/)

    print *, 'Original array:'
    print *, array

    ! Bubble sort algorithm
    do i = 1, n-1
        swapped = .false.
        do j = 1, n-i
            if (array(j) > array(j+1)) then
                temp = array(j)
                array(j) = array(j+1)
                array(j+1) = temp
                swapped = .true.
            end if
        end do
        if (.not. swapped) exit
    end do

    print *, 'Sorted array:'
    print *, array

end program bubble_sort

Contribute — propose a file extension

Tell us where to find evidence about Fortran 95 (mapped to pl/fortran-95). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Fortran 95/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Fortran 90 Fortran Free Form →