Chibi-Scheme

1 program Added 2026-02-11T11:14:46Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Chibi
Provenance: commit 7f5a203a8b · authored 2026-02-11T12:15:29+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

Chicken Scheme (0.36)CHICKEN (0.32)Chez Scheme (0.31)T (0.27)Cyclone Scheme (0.27)

LLM-contributed programs

Tail-Recursive Factorial

Provenance: commit 7f5a203a8b · authored 2026-02-11T12:15:29+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.scm · license: BSD-3-Clause · added: 2026-02-11T11:14:46Z
;; Factorial function using tail recursion
(define (factorial n)
  (define (fact-iter product counter max-count)
    (if (> counter max-count)
        product
        (fact-iter (* counter product)
                   (+ counter 1)
                   max-count)))
  (fact-iter 1 1 n))

;; 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 Chibi-Scheme (mapped to pl/chibi_scheme). 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/Chibi-Scheme/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Cheß chibicc →