S9fES
1 program
Added 2026-03-11T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Scheme 9 from Empty Space
Provenance: commit c24a25422c · authored 2026-03-11T18:13:33+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
Towers of Hanoi
Provenance: commit c24a25422c · authored 2026-03-11T18:13:33+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
; Towers of Hanoi in S9fES (Scheme 9 from Empty Space)
; Classic recursive solution demonstrating S9fES Scheme
(define (hanoi n from to via)
(if (> n 0)
(begin
(hanoi (- n 1) from via to)
(display (list 'move 'disk n 'from from 'to to))
(newline)
(hanoi (- n 1) via to from))))
(hanoi 3 'left 'right 'center)