PARI/GP

1 program Added 2025-10-28T14:03:49Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: GP
Provenance: commit aed066115d · authored 2025-10-28T15:03:49+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

3 sources · pl_id: pl/pari-gp-2
LLM (this repo) · 1WikipediaWikidata · Q3359573

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.

LicenseGNU General Public License
Homepagehttp://pari.math.u-bordeaux.fr/

Related languages

PARI (0.79)GP (0.77)Paradoc (0.18)Parlog (0.18)PartiQL (0.18)

LLM-contributed programs

Fibonacci sequence computation

Provenance: commit aed066115d · authored 2025-10-28T15:03:49+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.gp · added: 2025-10-28T14:03:49Z
\ Compute the n'th Fibonacci number
fib(n) = if(n < 2, n, fib(n-1) + fib(n-2));
for(n = 0, 9,
  write("fibonacci(" n ") = " fib(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 PARI/GP (mapped to pl/pari-gp-2). 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/PARI/GP/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← pari-gp Parity →