OPS5
1 program
Added 2026-02-06T18:00:40Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 9fc154650e · authored 2026-02-06T19:01:35+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/ops5Related languages
LLM-contributed programs
Monkey and Bananas Problem
Provenance: commit 9fc154650e · authored 2026-02-06T19:01:35+01:00 · agent claude-code · model sonnet · WebSearch disabled
(literalize goal
status)
(literalize monkey-status
location
on-top-of
holding)
(literalize object
name
location
on-top-of
weight)
(p initial-facts
-->
(make goal ^status get-bananas)
(make monkey-status ^location t5-7 ^on-top-of floor ^holding blank)
(make object ^name bananas ^location t2-2 ^on-top-of ceiling ^weight light)
(make object ^name ladder ^location t4-4 ^on-top-of floor ^weight heavy))
(p walk-to-ladder
(goal ^status get-bananas)
(monkey-status ^location <> t4-4 ^on-top-of floor)
(object ^name ladder ^location <l>)
-->
(modify 2 ^location <l>)
(write |Monkey walks to ladder|))
(p climb-ladder
(goal ^status get-bananas)
(monkey-status ^location <l> ^on-top-of floor)
(object ^name ladder ^location <l>)
-->
(modify 2 ^on-top-of ladder)
(write |Monkey climbs ladder|))
(p grab-bananas
(goal ^status get-bananas)
(monkey-status ^on-top-of ladder ^holding blank ^location <l>)
(object ^name bananas ^location <l>)
-->
(modify 2 ^holding bananas)
(modify 1 ^status eat-bananas)
(write |Monkey grabs bananas|))
(p eat-bananas
(goal ^status eat-bananas)
-->
(write |Monkey eats bananas|)
(halt))
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.)