> this sounds like you've created a retained mode DSL that gets compiled into immediate mode
Nope, I wrote a template-metaprogramming language, which generates the UI. There's nothing retained-mode about it.
The source code:
https://github.com/scallyw4g/bonsai/blob/672a3520d7537ef4e75...
The result: https://github.com/scallyw4g/bonsai/blob/master/generated/do...
> And yes, 10 KLoC is definitely a small project
I said it cleared the bar for quick-n-dirty. I agree it's not a large amount of code.
I mean, this sounds like you've created a retained mode DSL that gets compiled into immediate mode.
And yes, 10 KLoC is definitely a small project, especially when "most of which is generated".