2APL
1 program
Added 2026-02-16T14:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: A Practical Agent Programming Language
Provenance: commit f91c67b9fd · authored 2026-02-16T18:40:28+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/2aplRelated languages
LLM-contributed programs
Simple Agent with Beliefs and Goals
Provenance: commit f91c67b9fd · authored 2026-02-16T18:40:28+01:00 · agent claude-code · model sonnet · WebSearch disabled
BeliefUpdates:
{ true } AddBelief(location(home)) { }
{ true } AddBelief(battery(100)) { }
Goals:
explore
PG-rules:
explore <- location(home) and battery(B) and B > 20 |
{
B(location(home));
Adopt(goto(kitchen));
Send(robot2, inform, status(exploring))
}
PC-rules:
goto(X) <- location(Y) and not location(X) |
{
move(Y, X);
B(location(X))
}
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.)