From 861c0f0c79c4bd182552eea519978c8a1446d634 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 14 Jan 2021 22:57:07 +0100 Subject: feat(sterni/clhs): add cli to lookup symbols in the CLHS Probably very similar to M-x sly-hyperspec-lookup: take a list of common lisp symbols on the command line open the corresponding pages in a local copy of the hyperspec in $BROWSER. Optionally the paths can be printed to stdout. Change-Id: I389e254f14eb0fc8fd8b18a4dbfe7adeeda9ba72 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2397 Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/clhs/packages.lisp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 users/sterni/clhs/packages.lisp (limited to 'users/sterni/clhs/packages.lisp') diff --git a/users/sterni/clhs/packages.lisp b/users/sterni/clhs/packages.lisp new file mode 100644 index 000000000000..d059b96ce9f0 --- /dev/null +++ b/users/sterni/clhs/packages.lisp @@ -0,0 +1,10 @@ +(defpackage :clhs-lookup.clhs-path + (:use :cl) + (:export :*clhs-path*)) + +(defpackage clhs-lookup + (:use :cl :uiop) + (:import-from :clhs-lookup.clhs-path :*clhs-path*) + (:export :main + :find-symbols-paths)) + -- cgit 1.4.1