Nrepl Eval nrepl-eval
Evaluate Clojure code via nREPL using the standalone scripts/nrepl-eval.mjs CLI tool.
- Our test
- —
- not tested yet
- GitHub stars
- 63k
- penpot/penpot
- Added by
- 0
- members
- Updated
- Dec 6
- commit a290dbc
- Content
- 1 file
- no scripts · 1 KB
- License
- MPL 2.0
- free to use
What our test found
Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.
name: nrepl-eval description: Evaluate Clojure code via nREPL using the standalone scripts/nrepl-eval.mjs CLI tool.
nREPL Eval
Evaluate Clojure (or ClojureScript) code via a running nREPL server using scripts/nrepl-eval.mjs.
Full documentation: mem:scripts/nrepl-eval (file: .serena/memories/scripts/nrepl-eval.md)
When to use
- Evaluating Clojure or ClojureScript code against the running nREPL sessions (backend 6064, frontend 3447) — live inspection, patching, or debugging.
Quick Reference
./scripts/nrepl-eval.mjs [options] [<code>]| Flag | Description | Default | |------|-------------|---------| | --backend | Connect to backend nREPL (port 6064) | — | | --frontend | Connect to frontend nREPL (port 3447) | — | | -p, --port PORT | nREPL server port | 6064 | | -H, --host HOST | nREPL server host | 127.0.0.1 | | -t, --timeout MS | Timeout in milliseconds | 120000 | | --reset-session | Discard stored session and start fresh | — | | -e, --last-error | Evaluate *e to retrieve the last exception | — | | -h, --help | Show help message | — |
Examples
./scripts/nrepl-eval.mjs '(+ 1 2 3)'
./scripts/nrepl-eval.mjs --backend '(+ 1 2 3)'
./scripts/nrepl-eval.mjs --frontend '(js/alert "hi")'
./scripts/nrepl-eval.mjs -e