ACT-1
1 program
Added 2026-03-10T20:45:45Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Act 1, Act1
Provenance: commit 6234d8084b · authored 2026-03-10T21:46:17+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Counter Actor
Provenance: commit 6234d8084b · authored 2026-03-10T21:46:17+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
; Act 1 - Counter Actor
; Lieberman, H. "A Preview of Act 1", MIT AI Memo 625, 1981
(ACTOR COUNTER (N)
(CASES
((MESSAGE IS (INCREMENT AMOUNT))
(BECOME COUNTER (+ N AMOUNT)))
((MESSAGE IS (DECREMENT AMOUNT))
(BECOME COUNTER (- N AMOUNT)))
((MESSAGE IS (VALUE-TO CUSTOMER))
(SEND N TO CUSTOMER)
(BECOME COUNTER N))))
(DEFINE TALLY (NEW COUNTER 0))
(SEND TALLY (INCREMENT 10))
(SEND TALLY (INCREMENT 5))
(SEND TALLY (DECREMENT 3))
(SEND TALLY (VALUE-TO SELF))