HUB
Sign inSign up

clfoundation/clysm

By clfoundation

•Updated 3 days ago

Image
0

262

clfoundation/clysm repository overview

⁠Supported Tags

⁠Simple Tags

  • 0.1.875 0.1.875-trixie 0.1.875-trixie-amd64 0.1.875-trixie-arm64 0.1.875-trixie-slim 0.1.875-trixie-slim-amd64 0.1.875-trixie-slim-arm64

⁠Shared Tags

  • latest
    • 0.1.875

⁠Quick Reference

clysm Home Page
https://github.com/cxxxr/clysm⁠

Where to file Docker image related issues
https://gitlab.common-lisp.net/cl-docker-images/clysm⁠

Where to file issues for clysm itself
https://github.com/cxxxr/clysm/issues⁠

Maintained by
CL Docker Images Project⁠

Supported platforms
linux/amd64 and linux/arm64 for every tag

⁠What is clysm?

clysm, by cxxxr, the author of the Lem editor, is a Common Lisp implementation that compiles Lisp to WebAssembly GC. Programs run on Node.js, in a browser or in Electron, and the compiler runs in WebAssembly too, so its REPL compiles each form as it is typed. It has ASDF, the Quicklisp client and a SWANK server for SLIME; it has no threads.

clysm releases every commit of its main branch as v0.1.N. A tag here is such a release; the image names its commit in CLYSM_COMMIT.

⁠How to use this image

⁠Start a REPL

\$ docker run -it --rm clfoundation/clysm:latest

⁠Run a Common Lisp script

\$ docker run -it --rm -v "\$PWD":/usr/src/app -w /usr/src/app clfoundation/clysm:latest clysm script your-script.lisp

clysm script loads the file and exits. An unhandled error prints a backtrace and exits with status 1; (uiop:quit N) (after (require :asdf)) exits with status N.

⁠Other commands

clysm eval FORM... evaluates forms, clysm run FILE compiles a program and runs it, clysm build makes one WebAssembly module of an application and its ASDF systems, clysm swank starts a SWANK server for SLIME (it needs Quicklisp), and clysm alone lists them all.

⁠ASDF and Quicklisp

(require :asdf) loads clysm's own copy of ASDF 3.3.7 (compiled the first time, into ~/.cache). Quicklisp works from an existing installation: set QUICKLISP_HOME to it (by default ~/quicklisp/), then (require :quicklisp).

⁠What's in the image?

clysm's npm package as released, in /opt/clysm, with clysm's license. clysm, on the PATH, is clysm's own command (/opt/clysm/bin/clysm.mjs) run by Node. The package needs no SBCL: its compiler is clysm's own, compiled by itself.

⁠Image Variants

⁠clfoundation/clysm:<version>

This is the defacto image. It is based on Node's full Debian image, which carries the common build tools.

⁠clfoundation/clysm:<version>-slim

This image is based on Node's slim Debian image and carries only what is needed to run clysm.

⁠Building and Contributing

For information on building these images and contributing, please see the repository at https://gitlab.common-lisp.net/cl-docker-images/clysm⁠.

⁠License

clysm itself is licensed under the MIT License; its text is in the image at /opt/clysm/LICENSE and its source at the commit CLYSM_COMMIT names. The Dockerfiles and build infrastructure are licensed under the BSD 2-Clause License. See the LICENSE file in the repository for details.

Tag summary

Content type

Image

Digest

sha256:be68ae2fd…

Size

429.8 MB

Last updated

3 days ago

docker pull clfoundation/clysm