Vicare

1 program Added 2026-02-16T17:02:23Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Vicare Scheme
Provenance: commit f99bcfb6eb · authored 2026-02-16T18:03:14+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

s7 (0.35)SCM (0.35)Gauche (0.35)Cyclone Scheme (0.32)Elk (0.32)

LLM-contributed programs

Factorial Calculator

Provenance: commit f99bcfb6eb · authored 2026-02-16T18:03:14+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.scm · added: 2026-02-16T17:02:23Z
#!/usr/bin/env vicare
;; Factorial calculator using tail recursion
(import (vicare))

(define (factorial n)
  (let loop ((i n) (acc 1))
    (if (<= i 1)
        acc
        (loop (- i 1) (* acc i)))))

(define (main)
  (display "Enter a number: ")
  (flush-output-port (current-output-port))
  (let ((n (read)))
    (if (and (integer? n) (>= n 0))
        (begin
          (display "Factorial of ")
          (display n)
          (display " is ")
          (display (factorial n))
          (newline))
        (begin
          (display "Please enter a non-negative integer.")
          (newline)))))

(main)

Contribute — propose a file extension

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