From d58d599725d5fa40320edc73838e95468ef0b300 Mon Sep 17 00:00:00 2001 From: vindarel Date: Thu, 3 Jun 2021 15:35:45 +0200 Subject: [PATCH] Separate ciel/repl system: don't include cl-readline and all in base system --- Makefile | 6 ++++-- ciel.asd | 22 ++++++++++++++-------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 4613d9b..83ce7d6 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,12 @@ image: $(LISP) --load build-image.lisp build: - $(LISP) --load ciel.asd \ + $(LISP) --non-interactive \ + --load ciel.asd \ --eval '(ql:quickload :swank)' \ --eval '(ql:quickload :ciel)' \ - --eval '(asdf:make :ciel)' \ + --eval '(ql:quickload :ciel/repl)' \ + --eval '(asdf:make :ciel/repl)' \ --eval '(quit)' serve-docs: diff --git a/ciel.asd b/ciel.asd index 44133eb..a6dcce9 100644 --- a/ciel.asd +++ b/ciel.asd @@ -8,7 +8,6 @@ :license "MIT" :depends-on ( :cl-reexport ;; for us - :cl-readline ;; for the REPL :cl-ansi-text :access @@ -106,16 +105,23 @@ ;;; ;;; User helpers. ;;; - :lisp-critic :named-readtables - :clesh - :magic-ed + :clesh ;; shell pass-through ) :components ((:module "src" :components - ((:file "ciel") - )) - (:file "repl") + ((:file "ciel")))) + + :description "CIEL Is an Extended Lisp.") + +(asdf:defsystem "ciel/repl" + :depends-on (:ciel + ;; deps + :cl-readline + :lisp-critic ;; it would be nice to integrate it with Slime. + :magic-ed + ) + :components ((:file "repl") (:file "shell-utils") (:file "repl-utils")) @@ -123,4 +129,4 @@ :build-pathname "ciel-repl" :entry-point "sbcli::repl" - :description "CIEL Is an Extended Lisp.") + :description "readline REPL for CIEL.")