Parser for a subset of XML
SubXml is a parser and serialiser for a format resembling XML. It can be used as a minimal parser for small XML configuration or interchange files, so long as they make suitably limited use of XML and so long as that is not expected to change. The format supported by SubXml consists of the element, attribute, text, CDATA, and comment syntax from XML. Although the parser is limited, it is not forgiving -- anything it can't understand is rejected with a clear error message. An equally simplistic serialiser is also provided.
Project link: https://hg.sr.ht/~cannam/sml-subxml