Fstar

1 program Added 2026-03-13T03:15:54Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: F*, F star, FStar
Provenance: commit 9bae8d3b63 · authored 2026-03-13T04:16:16+01:00 · agent claude-code · model claude-sonnet-4-6

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

Related languages

F-star (0.65)F* (0.47)BANCStar (0.20)Rockstar (0.20)Battlestar (0.18)

LLM-contributed programs

Factorial

Provenance: commit 9bae8d3b63 · authored 2026-03-13T04:16:16+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.fst · license: Apache-2.0 · added: 2026-03-13T03:15:54Z
module Factorial

val factorial : n:nat -> Tot nat
let rec factorial n =
  if n = 0 then 1
  else n * factorial (n - 1)

let main () : FStar.All.ML unit =
  let result = factorial 10 in
  FStar.IO.print_string ("10! = " ^ string_of_int result ^ "\n")

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 Fstar (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/Fstar/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← FSP Fsx →