Build a core image

This commit is contained in:
vindarel 2020-10-13 06:01:52 +02:00
parent 159f9cd987
commit cbe04153ad
3 changed files with 25 additions and 0 deletions

10
Makefile Normal file
View file

@ -0,0 +1,10 @@
LISP ?= sbcl
run:
$(LISP) --load ciel.asd \
--eval '(asdf:load-system :ciel)' \
--eval '(in-package:ciel-user)'
image:
$(LISP) --load build-image.lisp

View file

@ -37,6 +37,15 @@ Rules
Clone, load the .asd, =(ql:quickload "ciel")= and =(in-package :ciel-user)=.
Alternatively, build a /core image/ of your lisp with CIEL's
dependencies:
: sbcl --load build-image.lisp
and use it:
: sbcl --core ciel --eval '(in-package :ciel-user)'
CIEL is on [[https://ultralisp.org][Ultralisp]].

6
build-image.lisp Normal file
View file

@ -0,0 +1,6 @@
(load "ciel.asd")
(ql:quickload "swank")
(ql:quickload "ciel")
(in-package :ciel-user)
(sb-ext:save-lisp-and-die "ciel")