# Guile

> GNU Scheme interpreter (67K lines info).

- Skill: `plurigrid/guile` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add plurigrid/guile`
- Raw SKILL.md: https://api.skillmd.com/api/skills/plurigrid/guile/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: plurigrid (https://skillmd.com/u/plurigrid)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/plurigrid/guile

---


# guile

GNU Scheme interpreter (67K lines info).

```bash
guile [options] [script [args]]

-L <dir>    Add load path
-l <file>   Load source
-e <func>   Apply function
-c <expr>   Evaluate expression
-s <script> Execute script
```

## REPL

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

(use-modules (ice-9 match))
(match '(1 2 3) ((a b c) (+ a b c)))
```

## Modules

```scheme
(use-modules (srfi srfi-1))   ; List library
(use-modules (ice-9 receive)) ; Multiple values
(use-modules (ice-9 format))  ; Formatted output
```


## REPL siblings

Scheme family: `slime-lisp` · `geiser-chicken` · `little-schemer` · `scheme` · `srfi` · `guile-goblins-hoot` · `hoot`. Cross-family: `unison` (codebase REPL) · `clojure` (nREPL). Atlas: `repl-commons`.

