[Cuis-dev] XML in Erudite

Hilaire Fernandes hfern at free.fr
Sun Jun 16 12:40:35 PDT 2024


Le 16/06/2024 à 20:56, Mariano Montone via Cuis-dev a écrit :
>
> I'm not sure what "cannibalizing" means here, a bit like "patching"?

Oh, in our context, I meant Erudite could just interpret the content  of 
the programlisting element as activable Smalltalk code.

docbook seem to be extendable but I have not read much so far.

>
> My hope for an extensible markup language is to leverage the natural 
> object systems inheritance, and that that would allow extensions in a 
> clean way.
>
> For instance, let's say we have a configurable <programlisting> node, 
> with a source type, code styler, etc. Then that could be specialized 
> for a particular source code language, either via class extension or 
> configuration.
>
> Also, I don't see the problem with tools support. Let's say there's a 
> tool that converts from <programlisting> to other format. That same 
> tool should also work with the specialized node without being touched; 
> it would just ignore the specific features of the specialized node. 
> That would be the "worst case", and in the best case,  it would be 
> possible to also adapt that transformation tool for the specialized 
> node to take into account its specific features without too much effort.

-- 
GNU Dr. Geo
http://gnu.org/s/dr-geo/
http://gnu-drgeo.blogspot.com/



More information about the Cuis-dev mailing list