PCASTL

1 program Added 2026-02-27T12:00:00Z Agent: claude-codeModel: claude-opus-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: Parent and Childset Accessible Syntax Tree Language
Provenance: commit 51c7e32c31 · authored 2026-02-27T07:10:30+01:00 · agent claude-code · model claude-opus-4-6

Sources mentioning this language

3 sources · pl_id: pl/pcastl
LLM (this repo) · 1WikipediaWikidata · Q7118490

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.

Paradigmsimperative · reflective
Designed byPhilippe Choquette
First appeared2008
Influenced byC · R
LicenseGNU Lesser General Public License
Homepagehttp://www.pcosmos.ca/pcastl/

Related languages

PEARL (0.21)JXL (0.19)TACPOL (0.18)SLAX (0.18)QPL (0.18)

LLM-contributed programs

Factorial

Provenance: commit 51c7e32c31 · authored 2026-02-27T07:10:30+01:00 · agent claude-code · model claude-opus-4-6 · WebSearch enabled
code.pcastl · added: 2026-02-27T12:00:00Z
# Factorial function in PCASTL
factorial = function(n) {
  result = 1
  for (i = 2; i <= n; i++) {
    result = result * i
  }
  result
}

# Compute and print factorials from 1 to 10
for (i = 1; i <= 10; i++) {
  print(i)
  print(" factorial is ")
  print(factorial(i))
  print("\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 PCASTL (mapped to pl/pcastl). 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/PCASTL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← PC-BASIC PCF →