XLISP-STAT

1 program Added 2026-02-16T12:00:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: XLS, Xlisp-Stat
Provenance: commit c3e42fb77f · authored 2026-02-16T17:57:07+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

XLISP (0.26)Lispkit Lisp (0.12)Mecrisp (0.11)*Lisp (0.10)Standard Lisp (0.10)

LLM-contributed programs

Descriptive Statistics Calculator

Provenance: commit c3e42fb77f · authored 2026-02-16T17:57:07+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.lsp · added: 2026-02-16T12:00:00Z
; XLISP-STAT program to compute descriptive statistics
; Define a list of data points
(def data (list 12 15 18 21 24 27 30))

; Compute the mean
(defun compute-mean (values)
  (/ (apply #'+ values) (length values)))

; Compute the standard deviation
(defun compute-stddev (values)
  (let* ((n (length values))
         (m (compute-mean values))
         (squared-diffs (mapcar #'(lambda (x) (expt (- x m) 2)) values))
         (variance (/ (apply #'+ squared-diffs) n)))
    (sqrt variance)))

; Display results
(format t "Data: ~a~%" data)
(format t "Mean: ~a~%" (compute-mean data))
(format t "Standard Deviation: ~a~%" (compute-stddev data))

Contribute — propose a file extension

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