I really like how you are exploring the space of minimal dependencies while remaining practically usable in today's computing environment.
11/19/2022, 11:59 PM
Ok, I may have under-estimated how much work Potluck will be. To build Potluck I need the ability to render tables, and to render tables that I can type into I really need a DOM. Prev-gen GUI toolkits like LoveFrames won't cut it; I need the ability to dynamically adjust dimensions as contents change. Hence this detour.The good news: I don't need much. The format is just literal Lua table syntax. Each node (div) contains either text, a row of nodes, or a column of nodes. Other supported attributes:
that acts like
depending on whether the parent has rows or columns.
11/20/2022, 9:48 AM
One very nice trick from the scheme community is the "tag is really just the name of a function" approach taken by Scribble, Pollen, et al.