hyperspec-lookup is an ANSI Common Lisp library that gives the user an interface to mapping symbols to URLs for the Common Lisp Hyperspec and Common Lisp Object System (CLOS) MetaObject Protocol. The library should work for any ANSI Common Lisp implementation for which ASDF is available.
The code is released under an MIT-style license.
If you have asdf-install, just:
$ asdf-install hyperspec-lookup
hyperspec-lookup can manually be downloaded from here: hyperspec-lookup_latest.tar.gz .
Questions, feature requests, and bug-reports are welcome on firstname.lastname@example.org.
* (require :hyperspec-lookup) * (hs:lookup "defun") "http://www.lispworks.com/reference/HyperSpec/Body/m_defun.htm" ;; Note how sometimes symbols in the Hyperspec and MOP overlap (in ;; those cases the library will always return the Hyperspec URL): * (hs:hyperspec-lookup "add-method") "http://www.lispworks.com/reference/HyperSpec/Body/f_add_me.htm" * (hs:mop-lookup "add-method") "http://www.alu.org/mop/dictionary.html#add-method" ;; If you need to specify alternate locations for the files with the ;; mappings in them (you'll need to do this for the Mop_Sym.txt most ;; certainly - although note that it is distributed with this ;; library), you can do this via: * (setq hs:*hyperspec-map-file* "/path/to/Map_Sym.txt") ;; and: * (setq hs:*mop-map-file* "/path/to/Mop_Sym.txt")