[Cuis-dev] Erudite

Mariano Montone marianomontone at gmail.com
Mon Oct 17 12:27:57 PDT 2022


Ah. XML didn't come to my mind. Good idea.

El lun., 17 oct. 2022 16:13, Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> escribió:

> Looks good :)
>
> For the master document of the book, XML may not be too verbose and more
> neutral.
>
> Hilaire
> Le 16/10/2022 à 16:04, Mariano Montone via Cuis-dev a écrit :
>
> A possible idea for the implementation:
>
> Have an EruditeBookFilesSerializer that converts books to and from disk.
>
> On disk, have a main file with the book title and sections descriptions,
> in Smalltalk format.
>
> Let's say, book.st:
>
> EruditeBook new
>      title: 'My book';
>      sections: {'Section1'.
>                       'Section2' -> {'Subsection1'. 'Subsection2'}}
>
> Sections and subsections point to files on disk.
> I thought of using yaml for that file, but Cuis does not have support.
>
> Then, each section and subsection lives on its own file; they have plain
> Erudite contents.
>
> Please let me know if you have other ideas for an implementation.
>
> --
> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221017/9f2dab7b/attachment.htm>


More information about the Cuis-dev mailing list