docparser
docparser copied to clipboard
Extract documentation from Common Lisp systems
Allows you to adjust the docstring tree basing on the state of the system after it's loading.
I'm looking at adding support to coo after someone opened a PR to add support for package inferred systems (https://github.com/fisxoj/coo/pull/24). It seems like, when asking docparser to parse such a...
Hello! I'm trying to create some tests using rove/prove, but I'm having the following error when calling `(docparser:parse :some-system)`: ``` Unknown error: :FORCE and :FORCE-NOT arguments not allowed in a...
And the failures are different, depending on the lisp implementation.
For example: ```common-lisp (ql:quickload '#:docparser-test) (let ((index (docparser:parse '#:docparser-test-system))) (map 'list 'type-of (docparser:query index :package-name '#:docparser-test-system :symbol-name '#:printf))) => (DOCPARSER:CFFI-FUNCTION DOCPARSER:MACRO-NODE) ``` ```common-lisp (ql:quickload '#:cl+ssl) (let ((index (docparser:parse '#:cl+ssl))) (map...
Example, using docparser itself: ```common-lisp (defparameter *docparser-docs* (docparser:parse '#'docparser)) (defun find-docs (symbol) (docparser:query *docparser-docs* :package-name (package-name (symbol-package symbol)) :symbol-name (symbol-name symbol))) ;; works for functions (find-docs 'docparser:parse) => #(#) ;;...