STklos

1 program Added 2026-02-10T14:50:46Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit b4e59e2941 · authored 2026-02-10T15:51:41+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

jLOS (0.27)Stylus (0.23)Stan (0.17)Stax (0.17)Argos (0.15)

LLM-contributed programs

Fibonacci with CLOS-style Objects

Provenance: commit b4e59e2941 · authored 2026-02-10T15:51:41+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.stk · added: 2026-02-10T14:51:20Z
;;; Fibonacci sequence generator using STklos objects
(define-class <fibonacci> ()
  ((n :init-keyword :n :initform 10 :accessor fib-n)))

(define-method fib ((obj <fibonacci>) (n <integer>))
  (cond
    ((<= n 1) n)
    (else (+ (fib obj (- n 1))
             (fib obj (- n 2))))))

(define-method compute ((obj <fibonacci>))
  (let ((limit (fib-n obj)))
    (do ((i 0 (+ i 1)))
        ((>= i limit))
      (format #t "fib(~a) = ~a~%" i (fib obj i)))))

(let ((f (make <fibonacci> :n 10)))
  (compute f))

Contribute — propose a file extension

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