FORTRAN 77

1 program Added 2026-02-10T19:47:34Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: F77, Fortran 77
Provenance: commit 550f7c92f4 · authored 2026-02-10T20:48:27+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/fortran-77
LLM (this repo) · 1Pldb

Related languages

Fortran (0.47)FORTRAN III (0.40)Fortran 90 (0.36)FORTRAN I (0.36)FORTRAN II (0.36)

LLM-contributed programs

Fibonacci Sequence

Provenance: commit 550f7c92f4 · authored 2026-02-10T20:48:27+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.f · added: 2026-02-10T19:47:34Z
      PROGRAM FIBONACCI
C     Classic FORTRAN 77 program to compute Fibonacci numbers
      INTEGER N, I, FIB, PREV, CURR, TEMP

      PRINT *, 'Enter the number of Fibonacci numbers to compute:'
      READ *, N

      IF (N .LE. 0) THEN
          PRINT *, 'Please enter a positive integer'
          STOP
      END IF

      PREV = 0
      CURR = 1

      PRINT *, 'Fibonacci sequence:'

      DO 10 I = 1, N
          IF (I .EQ. 1) THEN
              FIB = 0
          ELSE IF (I .EQ. 2) THEN
              FIB = 1
          ELSE
              FIB = PREV + CURR
              TEMP = CURR
              CURR = FIB
              PREV = TEMP
          END IF
          PRINT *, 'F(', I, ') = ', FIB
   10 CONTINUE

      END

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.)

Contribute — propose a file extension

Tell us where to find evidence about FORTRAN 77 (mapped to pl/fortran-77). 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 77/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← FORTRAN 66 Fortran 90 →