dfsch

1 program Added 2026-03-12T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: dfsch Scheme
Provenance: commit 0313830462 · authored 2026-03-12T00:22:07+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)
LLM (this repo) · 1

Related languages

s7 (0.39)SCM (0.39)JScheme (0.35)Elk (0.35)Kali (0.33)

LLM-contributed programs

Fibonacci and Factorial

Provenance: commit 0313830462 · authored 2026-03-12T00:22:07+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.scm · added: 2026-03-12T10:00:00Z
;;; Fibonacci and factorial in dfsch

(define (factorial n)
  (if (<= n 1)
      1
      (* n (factorial (- n 1)))))

(define (fib n)
  (cond ((= n 0) 0)
        ((= n 1) 1)
        (else (+ (fib (- n 1)) (fib (- n 2))))))

(display "Factorials:")
(newline)
(do ((i 1 (+ i 1)))
    ((> i 10))
  (display (factorial i))
  (newline))

(display "Fibonacci:")
(newline)
(do ((i 0 (+ i 1)))
    ((= i 10))
  (display (fib i))
  (newline))

Contribute — propose a file extension

Tell us where to find evidence about dfsch (mapped to pl/dfsch). 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/dfsch/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← DFS DG →