changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/ffi/readline/readline.asd

changeset 698: 96958d3eb5b0
parent: da507f0274b3
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; readline.asd --- GNU Readline FFI bindings
2 
3 ;; GNU Readline for Lisp REPLs
4 
5 ;;; Commentary:
6 
7 ;; It is important to support a solid shell-in-shell experience in our user
8 ;; applications. While we always have the option to build a more interactive
9 ;; native Lisp REPL solution, GNU Readline is the defacto standard and
10 ;; designed to handle many of the tricky OS-specific bits for us.
11 
12 ;;; Code:
13 (eval-when (:compile-toplevel :load-toplevel :execute)
14  (require :sb-grovel))
15 
16 (defpackage :readline.sys
17  (:use :cl :asdf :sb-grovel :sb-alien))
18 
19 (in-package :readline.sys)
20 
21 (defsystem :readline
22  :depends-on (:std :sb-grovel)
23  :components ((:file "pkg")
24  (grovel-constants-file "constants"
25  :package :readline))
26  :in-order-to ((test-op (test-op "readline/tests"))))
27 
28 (defsystem :readline/tests
29  :depends-on (:rt :readline)
30  :components ((:file "tests"))
31  :perform (test-op (op c) (uiop:symbol-call :rt :do-tests :readline)))