s7

1 program Added 2026-02-12T10:14:43Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: s7 Scheme
Provenance: commit b8293b9ba9 · authored 2026-02-12T11:15:26+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

SCM (0.57)Steel (0.47)JScheme (0.43)Elk (0.41)XSCHEME (0.40)

LLM-contributed programs

Factorial Function

Provenance: commit b8293b9ba9 · authored 2026-02-12T11:15:26+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.scm · added: 2026-02-12T10:14:43Z
;;; Factorial function in s7 Scheme
(define (factorial n)
  (if (<= n 1)
      1
      (* n (factorial (- n 1)))))

;;; Test the factorial function
(display "Factorial of 5: ")
(display (factorial 5))
(newline)

(display "Factorial of 10: ")
(display (factorial 10))
(newline)

Contribute — propose a file extension

Tell us where to find evidence about s7 (mapped to pl/s7). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/s7/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← s3 S9fES →