This is an example parser combinator implementation for simple XML like:
<parent-element>
<single-element attribute="value" />
</parent-element>Follows this blog tutorial: https://bodil.lol/parser-combinators/
Original blog is copyright Bodil Stokke and lincesed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Licence