emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs object type hierarchy


From: Andrea Corallo
Subject: Re: Emacs object type hierarchy
Date: Thu, 15 Feb 2024 12:40:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Andrea Corallo <acorallo@gnu.org> writes:

> Hello all,
>
> back on this subject.
>
> I've pushed on feature/type-hierarchy a branch that does the following
> things:
>
> - Define the type hierarchy for builtin types with `cl--type-hierarchy'
>   and generates automatically `cl--typeof-types' from it.  The format of
>   `cl--type-hierarchy' is I believe more compact and less error prone.
>
> - Generates automatically a graphical and textual representation of the
>   type hierarchy using etc/syncdoc-type-hierarchy.el. (This relies on
>   graphviz and graph-easy which AFAIU are both Free Software)
>
> - Add an initial "Type Hierarchy" under "Lisp Data Types" in the elisp
>   manual.
>
> - Include the generated representation of the type hierarchy in it.
>
> Here [1] the current image it renders of the hierarchy.
>
> There are still edges that needs to be rounded but I wanted to share it
> in order to collect some feedback.
>
> Thanks!
>
>   Andrea
>
> [1] 
> <https://git.savannah.gnu.org/cgit/emacs.git/plain/doc/lispref/type_hierarchy.jpg?h=feature/type-hierarchy>


One thing I forgot to mention I'm not very satisfied of.

Unfortunatelly the textual represantation in ascii art does not render
very well on a regular terminal size unless trucate-lines is null.
Maybe a simple table would be just a better option for text?  Of the
tools I tried graph-easy is IME the one I managed to produced the best
output already.

Thanks

  Andrea



reply via email to

[Prev in Thread] Current Thread [Next in Thread]