God help me, I find myself building a DOM.
Instead of html it's Lua literal syntax for tables. Instead of <div>
it has tables containing rows
or cols
. Other supported attributes: fg
and bg
colors, and a margin
that acts like margin-top
or margin-left
depending on whether the parent node/table has rows
or cols
.
(Also, I've been developing my LÖVE apps lately in a live way where I connect to a running app and make changes to it. Takes about 500 lines of Lua: https://spectra.video/w/wkDB5fsjBNBbsqKXGhGzwT)