[Letux-kernel] Prototype for YAML-taming tool...

H. Nikolaus Schaller hns at goldelico.com
Mon Mar 23 09:15:13 CET 2020


Hi,
I have prototyped a tool that could potentially help
to much easier edit the new yaml based bindings
documents.

It is currently written in Objective C (Xcode) for
MacOS because that is the GUI framework I am most
experienced in. Therefore it is for me the most
effortless way of getting a result...

One issue is that my YAML parser code does
not keep the sequence of the properties ordered.

Another one is that there may be multiple examples.

What I don't know is how to handle all these
item, enum, oneOf, allOf things and how to allow to
edit descriptions.

And it is not clear if there can be additional entries
in a YAML file one has to handle.

The code also has some obvious bugs, e.g. the
example is not well formatted. And the compatible
string isn't simply shown as Value.

Anyways, this is a start to become able to edit
such files without permanently fixing yaml syntax
errors... And focus on what is important.

BR,
Nikolaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20200323/c8a08d21/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 287352 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20200323/c8a08d21/attachment-0001.tiff>


More information about the Letux-kernel mailing list