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/pcastlWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | imperative · reflective |
|---|---|
| Designed by | Philippe Choquette |
| First appeared | 2008 |
| Influenced by | C · R |
| License | GNU Lesser General Public License |
| Homepage | http://www.pcosmos.ca/pcastl/ |
Related languages
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
# 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.)