Hacker News new | ask | show | jobs
by cipherself 823 days ago
The problem with this is that it doesn’t map nicely to HTML (or more generally XML) as do s-expressions.
1 comments

My https://pypi.org/project/xml-from-seq/ is a simple mapper from e.g.

    ['p', 'This is a ', ['a', {'href': 'https://example.com'}, 'link']]
to

    <p>This is a <a href="https://example.com">link</a></p>