From eba9f86cffbe3994663ca8ac3c4ea02b6ca0eac0 Mon Sep 17 00:00:00 2001 From: vindarel Date: Fri, 9 Dec 2022 14:27:28 +0100 Subject: [PATCH] Naming: the core is ciel-core, the binary is ciel previously: ciel and ciel-repl --- README.org | 8 ++++---- build-image.lisp | 2 +- ciel.asd | 2 +- docs/install.md | 7 ++++--- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 174042b..824b048 100644 --- a/README.org +++ b/README.org @@ -138,7 +138,7 @@ Build a /core image/ for your lisp with all CIEL's dependencies: and use it: -: sbcl --core ciel --eval '(in-package :ciel-user)' +: sbcl --core ciel-core --eval '(in-package :ciel-user)' Then you can configure Slime to have the choice of the Lisp image to start. See below in [[*Use CIEL at startup]] @@ -154,13 +154,13 @@ images, you must build it yourself. - we provide an experimental binary for Debian systems: go to https://gitlab.com/vindarel/ciel/-/pipelines, download the latest artifacts, unzip the =ciel-v0.zip= archive and run - =ciel-v0/ciel-repl=. + =ciel-v0/ciel=. TODO: build it for different platforms. To build it, clone this repository and run =make build=. - Start it with =./ciel-repl=. + Start it with =./ciel=. You are dropped into a custom Lisp REPL, freely based on [[https://github.com/hellerve/sbcli][sbcli]]. @@ -241,7 +241,7 @@ You need to: #+BEGIN_SRC lisp (setq slime-lisp-implementations `((sbcl ("sbcl" "--dynamic-space-size" "2000")) ;; default. Adapt if needed. - (ciel-sbcl ("sbcl" "--core" "/path/to/ciel/ciel" "--eval" "(in-package :ciel-user)")))) + (ciel-sbcl ("sbcl" "--core" "/path/to/ciel/ciel-core" "--eval" "(in-package :ciel-user)")))) (setq slime-default-lisp 'ciel-sbcl) #+end_src diff --git a/build-image.lisp b/build-image.lisp index 9d0e00c..c4aade7 100644 --- a/build-image.lisp +++ b/build-image.lisp @@ -13,4 +13,4 @@ (in-package :ciel-user) -(sb-ext:save-lisp-and-die "ciel") +(sb-ext:save-lisp-and-die "ciel-core") diff --git a/ciel.asd b/ciel.asd index 5c33c45..2df46bd 100644 --- a/ciel.asd +++ b/ciel.asd @@ -144,8 +144,8 @@ :defsystem-depends-on (:deploy) ;; need to (ql:quickload "deploy") before building. ;; :build-operation "program-op" :build-operation "deploy-op" - :build-pathname "ciel-repl" :entry-point "sbcli::repl") + :build-pathname "ciel" ;; Don't ship libssl, rely on the target OS'. ;; XXX: we need to load cl+ssl before we can compile and load this .asd file :/ diff --git a/docs/install.md b/docs/install.md index bc6a540..63e5262 100644 --- a/docs/install.md +++ b/docs/install.md @@ -38,10 +38,11 @@ sbcl --load build-image.lisp and use it: ``` example -sbcl --core ciel --eval '(in-package :ciel-user)' +sbcl --core ciel-core --eval '(in-package :ciel-user)' ``` -TODO: we will distribute ready-to-use core images. +Note: you must build the core image, we can't distribute ready-to-use core images, it must be built on your machine. + ## With a binary. Use CIEL's custom REPL. @@ -51,7 +52,7 @@ TODO: build it on CI for different platforms. To build it, clone this repository and run `make build`. -Start it with `./ciel-repl`. +Start it with `./ciel`. You are dropped into a custom Lisp REPL, freely based on [sbcli](https://github.com/hellerve/sbcli).