darklang / dark

Darklang main repo, including language, backend, and infra
https://darklang.com
Other
1.66k stars 90 forks source link

Add basic html functionality #5342

Closed StachuDotNet closed 5 months ago

StachuDotNet commented 5 months ago

Adds (and tests) just a few types and functions allowing users to 'write html' in Darklang. This is being done towards an attempt to rewrite the darklang.com website in Darklang. (there are some blockers there to think through, so we cut this PR off here)

Note: maybe it's a mistake to include this in the 'Darklang.Stdlib' module, as we haven't fully thought out the shape of things, but we can remove it if needed. It's really convenient to have it there, so we can reference it easily, given #5341.