Naming: the core is ciel-core, the binary is ciel

previously: ciel and ciel-repl
This commit is contained in:
vindarel 2022-12-09 14:27:28 +01:00
parent c6a47f66a6
commit eba9f86cff
4 changed files with 10 additions and 9 deletions

View file

@ -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

View file

@ -13,4 +13,4 @@
(in-package :ciel-user)
(sb-ext:save-lisp-and-die "ciel")
(sb-ext:save-lisp-and-die "ciel-core")

View file

@ -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 :/

View file

@ -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).