FWEB

1 program Added 2026-03-04T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Fortran WEB
Provenance: commit 391a0eb013 · authored 2026-03-04T23:20:48+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Fortran (0.44)FORTRAN III (0.38)FORTRAN 77 (0.35)Fortran 90 (0.35)FORTRAN I (0.35)

LLM-contributed programs

Factorial

Provenance: commit 391a0eb013 · authored 2026-03-04T23:20:48+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.fw · added: 2026-03-04T12:00:00Z
@* Factorial in FWEB.

This program computes the factorial of an integer using
the FWEB literate programming system for Fortran.

@f
      program factorial
      implicit none
      integer :: n, i, result
      n = 5
      @<Compute factorial of n@>
      write(*,'(a,i0)') 'Factorial of 5 = ', result
      end program

@ The factorial is computed by multiplying integers from 1 to n.
@<Compute factorial of n@>=
      result = 1
      do i = 1, n
        result = result * i
      end do

Contribute — propose a file extension

Tell us where to find evidence about FWEB (mapped to pl/fweb). 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/FWEB/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← FvwmScript FX →