This is hyperspec, a small library which includes some utilities to refer Common Lisp HyperSpec from repl.
$ ros install koji-kojiro/hyperspec
returns URL to the document on CLHS corresponding to symbol
.
returns HTML source of the document on CLHS corresponding symbol
.
format and display the document on CLHS corresponding symbol
.
A command line tool named clhs
is also included in this project.
$ ros install koji-kojiro/hyperspec
$ git clone https://github.com/koji-kojiro/hyperspec.git
$ cd hyperspec
$ sbcl --load build.lisp
# then place `./clhs` anywhere inlcluded in PATH
$ clhs --help
Usage: clhs [-h|--help] [-u|--url] symbol
Available options:
-h, --help Print this help and exit.
-u, --url Print url instead of document.
-n, --nocolor Do not use ANSI escapes.
Here is a screenshot of typical usage with more
(clhs format | more
):
TANI Kojiro (kojiro0531@gmail.com)
Licecnsed MIT.