F

1 program Added 2026-02-13T15:27:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 0035ca61dd · authored 2026-02-13T16:28:11+01:00 · agent claude-code · model sonnet

Sources mentioning this language

9 sources · pl_id: pl/f
LLM (this repo) · 1PldbLinguistPygmentsWikipediaEsolangHyperpolyglotRosettacodeWikidata · Q5423569

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: functional · imperative
Typingdependent, inferred, static, strong
Designed byMicrosoft Research · Inria · Nikhil Swamy · Juan Chen · Cédric Fournet · Pierre-Yves Strub · Karthikeyan Bhargavan · Jean Yang
First appeared2011
Influenced byDafny · F# · Lean · OCaml · Rocq · Standard ML
LicenseApache 2.0
Implemented inF*
Homepagehttp://fstar-lang.org

Extensions claimed by this language

5 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.fstlinguistprimary326.0K files
.fstpygmentsprimary326.0K files
.fstilinguistsecondary17.1K files
.fstipygmentssecondary17.1K files
.fstwikipediaproposed326.0K files

LLM-contributed programs

Fibonacci Sequence

Provenance: commit 0035ca61dd · authored 2026-02-13T16:28:11+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.f95 · added: 2026-02-13T15:27:00Z
program fibonacci
  implicit none
  integer :: n, i
  integer :: fib_prev, fib_curr, fib_next

  print *, 'Enter number of Fibonacci terms:'
  read *, n

  if (n < 1) then
    print *, 'Please enter a positive integer'
    stop
  end if

  fib_prev = 0
  fib_curr = 1

  print *, 'Fibonacci sequence:'
  print *, fib_prev

  if (n > 1) then
    print *, fib_curr
  end if

  do i = 3, n
    fib_next = fib_prev + fib_curr
    print *, fib_next
    fib_prev = fib_curr
    fib_curr = fib_next
  end do

end program fibonacci

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 F (mapped to pl/f). 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/F/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← E♯ F (None1) →