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 <sternenseemann@systemli.org>
This commit is contained in:
sterni 2021-01-14 22:57:07 +01:00
parent 80e1ece329
commit 861c0f0c79
4 changed files with 106 additions and 0 deletions

View file

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