melisgl / mgl-pax

Documentation system, browser, generator.
https://melisgl.github.io/mgl-pax-world/
MIT License
75 stars 13 forks source link

Changes to the Extension API #23

Closed melisgl closed 1 year ago

melisgl commented 1 year ago

I'm going to overhaul the PAX::@EXTENSION-API because its semantics are rather baroque. If your code will be broken by the following proposed changes, I'd like to hear about it.

The changes will not affect normal use (e.g. DEFSECTION, navigating, documenting, browsing, transcribing), or the obscure DEFINE-SYMBOL-LOCATIVE-TYPE, DEFINE-DEFINER-FOR-SYMBOL-LOCATIVE-TYPE, but the following changes are planned:

In summary, code that works with REFERENCES or defines a locative type (except by DEFINE-SYMBOL-LOCATIVE-TYPE) will break.

melisgl commented 1 year ago

This is a work in progress. The changes are going to be more extensive than described above. Dealing with references (to definitions) is going to be factored out into its own library similar to https://github.com/Shinmera/definitions, but which doesn't quite serve the needs of PAX.

melisgl commented 1 year ago

Here is the pull request: https://github.com/melisgl/mgl-pax/pull/29. I'm going to give it a day or two before merging it and check that I'm not breaking anything in Quicklisp. In the meantime, I'd appreciate any comments on the DRef api (see the readme): https://github.com/melisgl/mgl-pax/tree/dref/dref

melisgl commented 1 year ago

This is committed as 171e93f2209147c9ab8db8ac79eeb2e911156259.