一键导入
lisp-dev
Guidelines and documentation for developing, testing, and running Common Lisp code non-interactively using SBCL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines and documentation for developing, testing, and running Common Lisp code non-interactively using SBCL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Guidelines and reference for using cl-dockerfile-generator to write and generate Dockerfiles from Common Lisp S-expressions.
Provides documentation and guidelines for using the cl-cl-generator S-expression code generator. Explains how to construct Common Lisp code dynamically, write helper macros/functions, and use generation-time loops (,@(loop ...)) to reduce boilerplate.
Techniques and tools for finding and fixing mismatched parenthesis, brackets, and brace errors in Lisp S-expression templates and files.
Provides documentation and guides code generation using the cl-py-generator Common Lisp to Python transpiler. Use when writing, modifying, or testing Common Lisp forms to be transpiled into Python.
基于 SOC 职业分类
| name | lisp-dev |
| description | Guidelines and documentation for developing, testing, and running Common Lisp code non-interactively using SBCL. |
This skill contains instructions and guidelines for running Common Lisp code, executing test suites, and generating documentation using Steel Bank Common Lisp (SBCL) in a non-interactive/batch environment.
When running Lisp scripts, tests, or builds in automated systems (like CI/CD pipelines, pre-commit hooks, or background tasks), you must prevent SBCL from dropping into the interactive debugger when an unhandled error occurs.
By default, SBCL enters an interactive debugger prompt (* or db>) upon encountering an error, waiting for user input. This causes background tasks and automated runners to hang.
To disable the debugger and force SBCL to print a backtrace and exit immediately with a non-zero code on error, use the --disable-debugger option:
sbcl --disable-debugger \
--load file.lisp \
--eval '(form)' \
--quit
--disable-debugger: Disables the interactive debugger. If an error occurs, a backtrace is printed and SBCL exits with code 1.--non-interactive: (SBCL 2.0+) Sets up SBCL to run in a non-interactive batch mode, though --disable-debugger is still needed to guarantee exits on all errors.--noinform: Suppresses the startup banner message.--load <file>: Loads a Lisp file before starting the REPL or evaluating eval forms.--eval <form>: Evaluates a Lisp s-expression form.--quit: Exits SBCL when all options and eval forms have been processed.The repository includes a script to run the transpiler tests locally.
To run tests:
./example/03_py_meta/run-tests.sh
To run a subset of tests using tags, or customize test execution, run SBCL directly:
sbcl --disable-debugger \
--eval "(push \"/home/kiel/stage/cl-cl-generator/example/03_py_meta/\" asdf:*central-registry*)" \
--load "/home/kiel/stage/cl-cl-generator/example/03_py_meta/transpiler-tests.lisp" \
--eval "(cl-py-generator/tests::run-transpiler-tests :tags '(:core))" \
--quit
git lisp-format (see tools/pre-commit).