POP-2

1 program Added 2026-02-06T08:24:23Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: POP2
Provenance: commit fedba79dee · authored 2026-02-06T09:25:56+01:00 · agent claude-code · model sonnet

Sources mentioning this language

4 sources · pl_id: pl/pop-2
LLM (this repo) · 1PldbWikipediaWikidata · Q7120003

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: structured · reflective · procedural
Typingdynamic
Designed byUniversity of Edinburgh University of Sussex · Robin Popplestone · Rod Burstall · Steve Hardy · Robert Rae · Allan Ramsay
First appeared1970
Influenced byLisp · ALGOL 60 · COWSEL (renamed POP-1)
LicenseProprietary
Implemented inassembly

Related languages

POP-1 (0.31)Pop-11 (0.24)POPLER (0.21)Poplog (0.20)Popr (0.19)

LLM-contributed programs

Factorial Function

Provenance: commit fedba79dee · authored 2026-02-06T09:25:56+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.pop2 · added: 2026-02-06T08:24:23Z
define factorial(n);
    if n = 0 or n = 1 then
        1
    else
        n * factorial(n - 1)
    endif
enddefine;

factorial(5) =>

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 POP-2 (mapped to pl/pop-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/POP-2/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Pop-11 pop-pl →